A367337 Analog of A121805, but starting with 5.
5, 61, 78, 159, 251, 263, 295, 348, 432, 456, 521, 536, 602, 628, 715, 772, 799, 897, 976, 1037, 1108, 1189, 1280, 1281, 1292, 1313, 1344, 1385, 1436, 1497, 1568, 1649, 1740, 1741, 1752, 1773, 1804, 1845, 1896, 1957, 2029, 2121, 2133, 2165, 2217, 2289, 2381, 2393, 2425
Offset: 1
Links
- N. J. A. Sloane, Table of n, a(n) for n = 1..19706
Crossrefs
Programs
-
Python
from itertools import islice def agen(start=5): # generator of terms an, y = start, 1 while y < 10: yield an an, y = an + 10*(an%10), 1 while y < 10: if str(an+y)[0] == str(y): an += y break y += 1 print(list(agen())) # Michael S. Branicky, Nov 18 2023
Comments