cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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.

Original entry on oeis.org

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

Views

Author

David Williams, Oct 26 2018

Keywords

Comments

Apparently this algorithm applied to most sequences will produce a fractal scatterplot graph. - David Williams, Jan 20 2019

Examples

			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.
		

Crossrefs

See A030000 for an inverse.

Programs

  • PARI
    \\ See Links section.

Extensions

Edited by N. J. A. Sloane, Oct 27 2018
More terms from Rémy Sigrist, Oct 27 2018