OFFSET
1,2
COMMENTS
As this is the sequence A246280 sorted into ascending order, this is also expected to grow roughly as a(n) ~ 2^(n-1). (In this sequence we use one-based indexing.) Please see comments in A246280.
The corresponding new values at A246271(a(n)) are 0, 1, 2, 6, 7, 5, 3, 4, 11, 8, 10, 9, 15, 14, 13, 12, 17, 21, 20, 19, 18, 16, 24, 23, 22, ... (which is a permutation of the nonnegative integers).
PROG
(Scheme, with Antti Karttunen's IntSeq-library):
;; (This implementation is quite inefficient. Larger terms were grepped from the large b-file computed for A246271 with a PARI program given in that entry)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Antti Karttunen, Aug 23 2014
STATUS
approved