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(5).
A237342
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(5).
Terms
- a(0) =0a(1) =1a(2) =2a(3) =3a(4) =4a(5) =5a(6) =25a(7) =225a(8) =2225a(9) =22225a(10) =222225a(11) =2222225a(12) =22222225a(13) =222222225a(14) =2222222225a(15) =22222222225a(16) =222222222225
External references
- oeis: A237342