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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A079320 CATS sequence: cube-add-then-sort variation of RATS (reverse, add then sort) sequence. 1
1, 3, 68, 13, 222, 35, 25, 378, 11, 1234, 147, 122, 2578, 339, 1124, 349, 558, 6788, 28, 2289, 167, 1129, 13488, 1556, 1267, 1179, 1289, 12448, 237, 22289, 238, 3579, 33389, 1249, 24669, 569, 1459, 35589, 446, 26689, 1347, 5579, 22588, 1179, 23789, 1378 (list; graph; refs; listen; history; text; internal format)
OFFSET

2,2

LINKS

Harvey P. Dale and Indranil Ghosh, Table of n, a(n) for n = 2..20000 (terms 2..1000 from Harvey P. Dale)

M. J. Halm, Sequences

FORMULA

a(n) = sort_digits(n^3 + n).

EXAMPLE

a(8)= 25 because 8^3 + 8 = 512 + 8 = 520, sort(520) = 25.

MATHEMATICA

Array[FromDigits[Sort[IntegerDigits[#^3+#]]]&, 50, 2] (* Harvey P. Dale, Feb 28 2013 *)

PROG

(Python)

def A079320(n):

....x=str(n+n**3)

....return int("".join(sorted(x))) # Indranil Ghosh, Jan 29 2017

CROSSREFS

Cf. A004000.

Sequence in context: A238316 A182367 A091872 * A283882 A073163 A324082

Adjacent sequences:  A079317 A079318 A079319 * A079321 A079322 A079323

KEYWORD

nonn,base

AUTHOR

Michael Joseph Halm, Feb 13 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 November 20 14:54 EST 2019. Contains 329337 sequences. (Running on oeis4.)