Skip to content

A235498

OEIS Lean4

For k in {2,3,…,9} define a sequence as follows: a(0)=0; for n>=0, a(n+1)=a(n)+1, unless a(n) ends in k, in which case a(n+1) is obtained by replacing the last digit of a(n) with the digit(s) of k^2. This is k(2).

offset: 0
codomain: ℕ
n0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
A23549801245678910111214151617181920212224252627282930313234353637383940414244454647484950515254555657585960616264656667686970717274