login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A072452
a(n) = reversal(a(n-1)+n) for n>0, a(0) = 0.
1
0, 1, 3, 6, 1, 6, 21, 82, 9, 81, 19, 3, 51, 46, 6, 12, 82, 99, 711, 37, 75, 69, 19, 24, 84, 901, 729, 657, 586, 516, 645, 676, 807, 48, 28, 36, 27, 46, 48, 78, 811, 258, 3, 64, 801, 648, 496, 345, 393, 244, 492, 345, 793, 648, 207, 262, 813, 78, 631, 96, 651, 217, 972
OFFSET
0,3
EXAMPLE
a(10)=19 given: a(11) = rev(a(10)+11) = rev(19+11) = rev(30) = 3; a(12) = rev(a(11)+12) = rev(3+12) = rev(15) = 51.
MATHEMATICA
nxt[{n_, a_}]:={n+1, IntegerReverse[a+n+1]}; NestList[nxt, {0, 0}, 70][[;; , 2]] (* Harvey P. Dale, Dec 19 2024 *)
PROG
(Python) # See Hobson link.
(Haskell)
a072452 n = a072452_list !! n
a072452_list = 0 : map a004086 (zipWith (+) a072452_list [1..])
-- Reinhard Zumkeller, Feb 09 2012
CROSSREFS
Cf. A004086.
Sequence in context: A065233 A345681 A243658 * A155830 A340310 A096602
KEYWORD
nonn,base,look
AUTHOR
Reinhard Zumkeller, Aug 02 2002
STATUS
approved