%I #11 Jul 01 2023 16:53:56
%S 1,8,49,90,97,138,179,220,227,268,309,357,398,439,446,487,528,569,576,
%T 617,658,665,706,747,788,795,836,877,925,966,1007,1014,1055,1096,1137,
%U 1144,1185,1226,1233,1274,1315,1356,1363,1404,1445,1486,1493,1534,1575,1582
%N Numbers k such that the decimal expansion of 14^k begins with 14.
%D E.-B. Escott, Query 2691, L'Intermédiaire des Mathématiciens, 11 (1904), 244-245.
%o (Python)
%o from itertools import islice
%o def A352179_gen(startvalue=1): # generator of terms >= startvalue
%o k = max(startvalue,1)
%o k14 = 14**k
%o while True:
%o if str(k14)[:2] == '14':
%o yield k
%o k += 1
%o k14 *= 14
%o A352179_list = list(islice(A352179_gen(),10)) # _Chai Wah Wu_, Mar 08 2022
%K nonn,base
%O 1,2
%A _N. J. A. Sloane_, Mar 08 2022
|