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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A071242 Arithmetic mean of n and R(n) where n is a number such that the least significant digit and the most significant digits are of same parity and R(n) is its digit reversal (A004086). 2
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22, 33, 44, 55, 11, 22, 33, 44, 55, 22, 33, 44, 55, 66, 22, 33, 44, 55, 66, 33, 44, 55, 66, 77, 33, 44, 55, 66, 77, 44, 55, 66, 77, 88, 44, 55, 66, 77, 88, 55, 66, 77, 88, 99, 101, 202, 303, 404, 505, 111, 212, 313, 414, 515, 121 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

FORMULA

{n + R(n)}/2 for all n which yield integers.

MAPLE

reversal := proc(n) local i, len, new, temp: new := 0: temp := n: len := floor(log[10](n+.1))+1: for i from 1 to len do new := new+irem(temp, 10)*10^(len-i): temp := floor(temp/10): od: RETURN(new): end: for n from 0 to 500 do if type((n+reversal(n))/2, integer) then printf(`%d, `, (n+reversal(n))/2) fi: od:

CROSSREFS

Cf. A071240, A071241.

Sequence in context: A122875 A080716 A166461 * A044959 A141033 A044821

Adjacent sequences:  A071239 A071240 A071241 * A071243 A071244 A071245

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), May 20 2002

EXTENSIONS

More terms and Maple code from James A. Sellers (sellersj(AT)math.psu.edu), May 28, 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 23:49 EST 2012. Contains 206085 sequences.