OFFSET
0,2
COMMENTS
From n = 1 the sequence is periodic with a period of 63. The Data without the initial 0 gives that period. - David A. Corneth, Aug 01 2018
REFERENCES
J. Roberts, Lure of the Integers, Math. Assoc. America, 1992, p. 15.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Nick Hobson, Python program for this sequence
N. J. A. Sloane and others, Sequences of RADD type, OEIS wiki.
MAPLE
rev:=proc(n) local nn, nnn: nn:=convert(n, base, 10): add(nn[nops(nn)+1-j]*10^(j-1), j=1..nops(nn)) end: a[0]:=0: for n from 1 to 70 do a[n]:=rev(7+a[n-1]) od: seq(a[n], n=0..70); # Emeric Deutsch, Jul 28 2006
MATHEMATICA
NestList[FromDigits[Reverse[IntegerDigits[# + 7]]]&, 0, 60] (* Vincenzo Librandi, Aug 08 2017 *)
PROG
(PARI) first(n) = my(res = vector(n)); res[1]=0; for(i = 2, n, res[i] = fromdigits(Vecrev(digits(res[i - 1] + 7)))); res \\ David A. Corneth, Aug 01 2018
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
EXTENSIONS
More terms from Emeric Deutsch, Jul 28 2006
STATUS
approved