OFFSET
1,1
COMMENTS
a(multiple of 10) = -1 (see A117816). a(15) = -1 (see A118532). a(n) is a multiple of 9/gcd(9,n) unless it is -1. - Martin Fuller, May 12 2006
For a discussion of the -1 entries see A117816.
LINKS
N. J. A. Sloane and others, Sequences of RADD type, OEIS wiki.
MATHEMATICA
ReverseNum[n_] := FromDigits[Reverse[IntegerDigits[n]]]; maxLen=10000; Table[z=1; lst={1}; While[z=ReverseNum[z]+n; !MemberQ[lst, z] && Length[lst]<maxLen, AppendTo[lst, z]]; If[Length[lst]<maxLen, Length[lst]-Position[lst, z][[1, 1]]+1, -1], {n, 100}] (Noe)
CROSSREFS
KEYWORD
sign,base
AUTHOR
N. J. A. Sloane, following discussions with Luc Stevens, May 04 2006
EXTENSIONS
a(21)-a(33) from Luc Stevens, May 08 2006
a(33) onwards from T. D. Noe and Martin Fuller, May 10 2006
STATUS
approved