login
A268672
a(n) = n - A268395(n).
4
0, 1, 2, 2, 3, 2, 2, 3, 4, 4, 3, 4, 4, 5, 6, 4, 5, 2, 2, 3, 2, 3, 4, 4, 4, 5, 6, 5, 6, 6, 4, 5, 6, 6, 3, 4, 4, 5, 6, 5, 4, 5, 6, 6, 7, 5, 5, 6, 6, 7, 8, 4, 5, 5, 4, 5, 6, 5, 5, 6, 4, 5, 6, 6, 7, 6, 6, 7, 4, 5, 6, 6, 6, 7, 8, 6, 7, 7, 6, 7, 6, 7, 8, 8, 9, 4, 4, 5, 6, 6, 4, 5, 5, 6, 7, 6, 6, 7, 8, 7, 8, 8, 4, 5, 6, 4, 4, 5, 4, 5, 6, 6, 7, 7, 6, 7, 7, 8, 9, 6, 4
OFFSET
0,3
COMMENTS
It seems that the sequence stays strictly positive after a(0).
Only 1 seems to be at a(1).
2's occur in this sequence at least in the following positions: 2, 3, 5, 6, 17, 18, 20, 257, 258, 260, 272, 65537, 65538, 65540, 65552, 65792, and in no other location up to 2^21.
See also comments in A268708.
LINKS
FORMULA
a(n) = n - A268395(n).
PROG
(Scheme) (define (A268672 n) (- n (A268395 n)))
CROSSREFS
Cf. A268713 (record positions).
Sequence in context: A321788 A182093 A254618 * A054483 A258568 A108939
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 10 2016
STATUS
approved