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