[go: up one dir, main page]

login
A246167
Positions where distinct new values of A246271 appear for the first time.
3
1, 2, 5, 21, 46, 55, 66, 91, 574, 1362, 1419, 1654, 3497, 4607, 5263, 6463, 430261, 545869, 554111, 567583, 574823, 589843, 8781429, 14635735, 20490043
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)
(define A246167 (DISTINCT-POS 1 1 A246271))
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Antti Karttunen, Aug 23 2014
STATUS
approved