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

 

Logo

The OEIS is looking to hire part-time people to help edit core sequences, upload scanned documents, process citations, fix broken links, etc. - Neil Sloane, njasloane@gmail.com

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A056964 a(n) = n + reversal of digits of n. 46
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.

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) a(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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified May 30 04:27 EDT 2017. Contains 287305 sequences.