for i in range (2024, 10**8, 2024): s = str(i) if s[0] == '1' and s[2] == '4' and s[-1] == '4' and s[-2] == '8' and s[-3] == '7': print(i, i/2024)
Standard input is empty
(1246784, 616) (14402784, 7116) (15414784, 7616) (16426784, 8116) (17438784, 8616) (18450784, 9116) (19462784, 9616)