login
This site is supported by donations 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

Reinhard Zumkeller and Alois P. Heinz, Table of n, a(n) for n = 0..1000 (first 251 terms from Reinhard Zumkeller)

Index entries for sequences related to Reverse and Add!

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

Cf. A006960, A001127, A033649, A033650, A033651.

Cf. A056964, A004086.

Row n=3 of A243238.

Sequence in context: A288147 A026079 A066710 * A102972 A075209 A075207

Adjacent sequences:  A033645 A033646 A033647 * A033649 A033650 A033651

KEYWORD

nonn,base

AUTHOR

N. J. A. Sloane.

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 17 13:33 EST 2019. Contains 329230 sequences. (Running on oeis4.)