login
A276605
After a(0)=0, the first differences of A276603.
3
0, 1, 1, 2, 1, 1, 2, 2, 3, 1, 1, 2, 2, 2, 2, 3, 2, 3, 3, 2, 4, 1, 1, 2, 2, 2, 2, 3, 2, 3, 3, 2, 4, 3, 2, 4, 4, 2, 3, 3, 2, 4, 3, 2, 3, 4, 2, 4, 4, 5, 1, 1, 2, 2, 2, 2, 3, 2, 3, 3, 2, 4, 3, 2, 4, 4, 2, 3, 3, 2, 4, 3, 2, 3, 4, 2, 4, 4, 5, 3, 2, 3, 4, 2, 4, 4, 5, 4, 4, 5, 2, 3, 3, 2, 4, 3, 2, 3, 4, 2, 4, 4, 5, 3, 2, 3, 4, 2, 4, 4, 4, 4, 4, 5, 2, 4, 4, 4, 4, 4, 5
OFFSET
0,4
LINKS
FORMULA
a(n) = A276604(n) / 2.
a(0) = 0; for n >= 1, a(n) = A276603(n) - A276603(n-1).
PROG
(Scheme, two alternatives)
(define (A276605 n) (/ (A276604 n) 2))
(define (A276605 n) (if (zero? n) n (- (A276603 n) (A276603 (- n 1)))))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Sep 11 2016
STATUS
approved