OFFSET
1,2
COMMENTS
Apparently this algorithm applied to most sequences will produce a fractal scatterplot graph. - David Williams, Jan 20 2019
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program for A321043
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
KEYWORD
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