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!)
A333302 Numbers produced by iteratively sorting the digits of the last number from largest to smallest in base 10 and then doubling, starting with the number 1. 0
1, 2, 4, 8, 16, 122, 442, 884, 1768, 17522, 150442, 1088420, 17684200, 175284200, 1750844200, 17508842000, 177508420000, 1755084200000, 17510842000000, 175084220000000, 1750844200000000, 17508842000000000, 177508420000000000, 1755084200000000000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
It appears that the first 8 digits begin to cycle in a period of 6 while adding one zero every iteration.
LINKS
MATHEMATICA
a[1] = 1; a[n_] := a[n] = 2 FromDigits@ Reverse@ Sort@ IntegerDigits@ a[n-1]; Array[a, 24] (* Giovanni Resta, Apr 15 2020 *)
PROG
(PARI) lista(nn) = {my(a=1); print1(a, ", "); for (n=2, nn, a = 2*fromdigits(vecsort(digits(a), , 4)); print1(a, ", "); ); } \\ Michel Marcus, Apr 16 2020
CROSSREFS
Sequence in context: A323453 A277280 A095197 * A321532 A061581 A046251
KEYWORD
nonn,base
AUTHOR
Ethan Hulinsky, Mar 14 2020
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 18 19:36 EDT 2024. Contains 372666 sequences. (Running on oeis4.)