login
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.
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