login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A085932 Numbers n such that the digits sorted in ascending order + the digital sum of n is a palindrome. Or, sortdigits(n)+digit sum(n) is a palindrome. 3
1, 2, 3, 4, 10, 20, 30, 40, 100, 124, 129, 142, 148, 167, 176, 184, 192, 200, 214, 219, 224, 229, 241, 242, 248, 267, 276, 284, 291, 292, 300, 348, 367, 376, 384, 400, 412, 418, 421, 422, 428, 438, 448, 467, 476, 481, 482, 483, 484, 567, 576, 617, 627, 637 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..54.

EXAMPLE

a(12)=142 because the digits of 142 in ascending order are 124 and the digital sum of 124=7 and 124+7=131, a palindrome.

MATHEMATICA

dspQ[n_]:=Module[{sidn=Sort[IntegerDigits[n]], pidn}, pidn= IntegerDigits[ FromDigits[ sidn]+ Total[ sidn]]; pidn==Reverse[pidn]]; Select[Range[ 700], dspQ] (* Harvey P. Dale, Jul 19 2011 *)

CROSSREFS

Cf. A085933, A085934, A085935.

Sequence in context: A145028 A306107 A229545 * A214283 A135056 A132135

Adjacent sequences:  A085929 A085930 A085931 * A085933 A085934 A085935

KEYWORD

base,easy,nonn

AUTHOR

Jason Earls and Amarnath Murthy, Jul 14 2003

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 21 05:21 EDT 2021. Contains 348141 sequences. (Running on oeis4.)