login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A332240
Palindromes that are the sum of a number and the sum of its digits.
2
0, 2, 4, 6, 8, 11, 22, 33, 44, 55, 66, 77, 88, 99, 101, 111, 131, 141, 151, 161, 171, 181, 191, 202, 212, 232, 242, 252, 262, 272, 282, 292, 303, 313, 333, 343, 353, 363, 373, 383, 393, 404, 414, 434, 444, 454, 464, 474, 484, 494, 505, 515, 535, 545, 555, 565, 575
OFFSET
1,2
FORMULA
a(n) in { A062028(A229545(i)) : i >= 1 }. - Amiram Eldar, Feb 12 2020
EXAMPLE
196 + 1 + 9 + 6 = 212, so 212 is in this sequence.
MATHEMATICA
palQ[n_] := Block[{d = IntegerDigits[n]}, Reverse[d] == d]; Select[ Union[(# + Plus @@ IntegerDigits@#) & /@ Range[0, 600]], # <= 600 && palQ[#] &] (* Giovanni Resta, Feb 07 2020 *)
PROG
(Magma) pal:=func<n|Seqint(Intseq(n)) eq Seqint(Reverse(Intseq(n)))>; [k:k in [0..600]| pal(k) and exists(m){s:s in [0..k]| s+&+Intseq(s) eq k}]; // Marius A. Burtea, Feb 08 2020
CROSSREFS
Intersection of A002113 and A176995.
Sequence in context: A353007 A071241 A247123 * A068062 A088169 A061563
KEYWORD
nonn,base
AUTHOR
Eric Fox, Feb 07 2020
EXTENSIONS
More terms from Giovanni Resta, Feb 07 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 21 04:44 EDT 2024. Contains 376079 sequences. (Running on oeis4.)