login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A056964 a(n) = n + reversal of digits of n. 53
0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 11, 22, 33, 44, 55, 66, 77, 88, 99, 110, 22, 33, 44, 55, 66, 77, 88, 99, 110, 121, 33, 44, 55, 66, 77, 88, 99, 110, 121, 132, 44, 55, 66, 77, 88, 99, 110, 121, 132, 143, 55, 66, 77, 88, 99, 110, 121, 132, 143, 154, 66, 77, 88, 99, 110 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

If n has an even number of digits then a(n) is a multiple of 11.

Also called the Reverse and Add!, or RADD operation. Iteration of this function leads to the definition of Lychrel and related numbers, cf. A023108, A063048, A088753, A006960, and many others. - M. F. Hasler, Apr 13 2019

LINKS

Indranil Ghosh, Table of n, a(n) for n = 0..20000 (first 1001 terms from T. D. Noe)

Eric Weisstein's World of Mathematics, Reverse-Then-Add Sequence

Index entries for sequences related to Reverse and Add!

FORMULA

a(n) = n + A004086(n) = 2*n - A056965(n).

EXAMPLE

a(17) = 17 + 71 = 88.

MATHEMATICA

Table[n+FromDigits[Reverse[IntegerDigits[n]]], {n, 0, 100}] (* Harvey P. Dale, Jul 19 2014 *)

PROG

(Haskell) a056964 n = n + a004086 n  -- Reinhard Zumkeller, Oct 14 2011

(PARI) A056964(n)=fromdigits(Vecrev(digits(n)))+n \\ Charles R Greathouse IV, Oct 28 2014

(Python) def A056964(n): return n+int(str(n)[::-1]) # Indranil Ghosh, Jan 29 2017

CROSSREFS

Cf. A004086, A056965, A067030.

Differs from A052008 when n=101 and a(101)=202 while A052008(101)=121

Cf. A036839.

Sequence in context: A062028 A262223 A070196 * A052008 A117463 A248609

Adjacent sequences:  A056961 A056962 A056963 * A056965 A056966 A056967

KEYWORD

nonn,base,easy

AUTHOR

Henry Bottomley, Jul 18 2000

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 September 20 12:13 EDT 2019. Contains 327231 sequences. (Running on oeis4.)