The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A180216 Base 10 representation of numbers which, in base 2, satisfy Abs(k-Reverse(k))+Reverse(Abs(k-Reverse(k)))=k. 0
0, 2, 6, 10, 14, 18, 30, 34, 42, 54, 62, 66, 90, 102, 126, 130, 135, 146, 170, 186, 198, 214, 238, 254, 258, 279, 306, 330, 378, 390, 438, 462, 510, 514, 546, 567, 594, 626, 650, 682, 730, 762, 774, 806, 854, 886, 910, 942, 990, 1022, 1026, 1083, 1122, 1143 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
MATHEMATICA
rev[x_, b_] := FromDigits[Reverse[IntegerDigits[x, b]], b]; revadd[x_, b_] := rev[x, b] + x; revsub[x_, b_] := Abs[x - rev[x, b]]; a = {}; Do [If[revadd[revsub[ x, n], n] == x, AppendTo[a, x]], {x, START, FINISH}]; a
CROSSREFS
Sequence in context: A322992 A281702 A281703 * A164302 A290727 A190883
KEYWORD
base,nonn
AUTHOR
Dylan Hamilton, Aug 15 2010
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 May 13 19:55 EDT 2024. Contains 372522 sequences. (Running on oeis4.)