|
Search: id:A104459
|
|
|
| A104459 |
|
Possible differences between adjacent palindromes. |
|
+0 2
|
|
| 1, 2, 10, 11, 100, 110, 1000, 1100, 10000, 11000, 100000, 110000, 1000000, 1100000, 10000000, 11000000, 100000000, 110000000, 1000000000, 1100000000, 10000000000, 11000000000, 100000000000, 110000000000, 1000000000000
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
Possible first differences of A002113.
|
|
FORMULA
|
a(n) = 2 if n = 2; 11*10^((n-4)/2) if n even >= 4; 10^((n-1)/2) if n odd.
|
|
EXAMPLE
|
536635 and 537735 are adjacent palindromes, so 537735-536635 = 1100 is in the sequence.
|
|
MATHEMATICA
|
PalindromeQ[n_]:=Reverse[IntegerDigits[n]]==IntegerDigits[n]; q=0; lst={}; Do[If[PalindromeQ[n], AppendTo[lst, n-q]; q=n], {n, 10!}]; Union@lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Oct 26 2009]
|
|
CROSSREFS
|
Cf. A002113.
Sequence in context: A131096 A069263 A072545 this_sequence A008560 A101222 A079252
Adjacent sequences: A104456 A104457 A104458 this_sequence A104460 A104461 A104462
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
David W. Wilson (davidwwilson(AT)comcast.net), Mar 08 2005
|
|
|
Search completed in 0.002 seconds
|