login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A321043
Single-digit numbers in the order in which they first appear in the decimal expansions of powers of 2, followed by the two-digit numbers in the order in which they appear, then the three-digit numbers, and so on.
4
1, 2, 4, 8, 6, 3, 5, 0, 9, 7, 16, 32, 64, 12, 28, 25, 56, 51, 10, 24, 20, 48, 40, 96, 81, 19, 92, 63, 38, 84, 27, 76, 68, 65, 55, 53, 36, 13, 31, 72, 26, 62, 21, 14, 44, 52, 42, 88, 85, 57, 97, 71, 15, 41, 94, 43, 30, 83, 86, 60, 67, 77, 33, 35, 54, 34, 17, 45
OFFSET
1,2
COMMENTS
Apparently this algorithm applied to most sequences will produce a fractal scatterplot graph. - David Williams, Jan 20 2019
LINKS
EXAMPLE
1,2,4,8,16,32,64,128,256,512,1024, ..., 4096, ..., 32768, ... gives 1,2,4,8,6,3,5,0,9,7.
Then we get 16,32,64,12,28,25,56,51,10,24,20,48,40,96,81,19,92,...
11 does not appear until 2^40 = 1099511627776.
PROG
(PARI) See Links section.
CROSSREFS
See A030000 for an inverse.
Sequence in context: A132137 A011180 A103546 * A080868 A046260 A254065
KEYWORD
nonn,base,look
AUTHOR
David Williams, Oct 26 2018
EXTENSIONS
Edited by N. J. A. Sloane, Oct 27 2018
More terms from Rémy Sigrist, Oct 27 2018
STATUS
approved