OFFSET
1,3
COMMENTS
Numbers that are contiguous substrings of those in A062273. - Michael S. Branicky, May 26 2022
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..9001
PROG
(Python)
def ok(n):
s = str(n)
return s == "".join(str((int(s[0])+i)%10) for i in range(len(s)))
print([k for k in range(10**6) if ok(k)]) # Michael S. Branicky, May 26 2022
(Python)
from itertools import count, islice
def agen(): # generator of terms
yield 0
for d in count(1):
for s0 in range(1, 10):
yield int("".join(str((s0+i)%10) for i in range(d)))
print(list(islice(agen(), 50))) # Michael S. Branicky, May 26 2022
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Thomas Schulze (jazariel(AT)tiscalenet.it), Feb 12 2001
EXTENSIONS
More terms from Brian DiCesare (bdicesar(AT)ashland.edu), Oct 11 2004
a(1) = 0 inserted by Michael S. Branicky, May 26 2022
STATUS
approved