|
|
A367337
|
|
Analog of A121805, but starting with 5.
|
|
10
|
|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
This sequence is finite, with last term a(19706) = 999945.
|
|
LINKS
|
|
|
PROG
|
(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
|
|
CROSSREFS
|
Comma sequences in base 10, starting with 1, 2, 4, 5, 6, 7, 8, 9, 10 are A121805, A139284, A366492, A367337, A367350, A367351, A367352, A367353, A367354. Starting with 3 is trivial, and those starting with 11, 12, 13 are essentially duplicates.
|
|
KEYWORD
|
nonn,base,fini,full
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|