OFFSET
1,2
COMMENTS
The first run of consecutive values has length 2 and initial value 1.
For k > 1, the k-th run of consecutive values has length A005578(k) and initial value 2^k.
EXAMPLE
A359194(42) = 1 < 42, so 42 belongs to this sequence.
PROG
(PARI) is(n) = if(n, bitneg(3*n, exponent(3*n)+1), 1) < n
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Dec 23 2022
STATUS
approved