OFFSET
0,2
COMMENTS
In A061511-A061522, A061746-A061750 when the incremented digit exceeds 9 it is written as a 2-digit string. So 9+1 becomes the 2-digit string 10, etc.
Every term > 8 is made up of only two different consecutive digits, the smaller of which occurs only as the least significant digit.
Otherwise said, these are one less than the odd repdigits (A010785) of length 2^k, cf. formula. - M. F. Hasler, Jun 24 2016
FORMULA
a(n) = A061512(n)-1 = (10^2^floor(n/5)-1)/9*(n%5*2+1) - 1, where n%5 means the remainder (in {0..4}) of n divided by 5. - M. F. Hasler, Jun 24 2016
EXAMPLE
Following 32; 3+2 = 5 and 2+2 = 4, hence the next term is 54.
MATHEMATICA
NestList[FromDigits[Flatten[IntegerDigits/@(IntegerDigits[#]+2)]]&, 0, 30] (* Harvey P. Dale, Jul 07 2012 *)
PROG
(PARI) A061513(n)=10^2^(n\5)\9*(n%5*2+1)-1 \\ M. F. Hasler, Jun 24 2016
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, May 08 2001
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), May 11 2001
STATUS
approved