login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A033648 Trajectory of 3 under map x->x + (x-with-digits-reversed). 11
3, 6, 12, 33, 66, 132, 363, 726, 1353, 4884, 9768, 18447, 92928, 175857, 934428, 1758867, 9447438, 17794887, 96644658, 182289327, 906271608, 1712444217, 8836886388, 17673772776, 85401510447, 159803020905, 668823329856, 1327746658722, 3606313135953, 7201626272016 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Normally one stops as soon as a palindrome is reached.
A Reverse and Add! sequence.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000 (first 251 terms from Reinhard Zumkeller)
MAPLE
a:= proc(n) option remember; `if`(n=0, 3, (h-> h+ (s->
parse(cat(s[-i]$i=1..length(s))))(""||h))(a(n-1)))
end:
seq(a(n), n=0..40); # Alois P. Heinz, Jun 18 2014
MATHEMATICA
NestList[ # + FromDigits@Reverse@IntegerDigits@# &, 3, 29] (* Robert G. Wilson v, Dec 16 2005 *)
PROG
(Haskell)
a033648 n = a033648_list !! n
a033648_list = iterate a056964 3 -- Reinhard Zumkeller, Sep 22 2011
CROSSREFS
Row n=3 of A243238.
Sequence in context: A288147 A026079 A066710 * A102972 A075209 A075207
KEYWORD
nonn,base
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 10:55 EDT 2024. Contains 371241 sequences. (Running on oeis4.)