login
A276585
After a(0)=0, the first differences of A276583.
2
0, 3, 3, 2, 3, 4, 3, 3, 3, 3, 5, 3, 3, 5, 5, 3, 5, 3, 4, 3, 5, 3, 4, 2, 3, 5, 3, 4, 4, 3, 5, 3, 4, 3, 3, 3, 5, 3, 4, 3, 5, 3, 5, 3, 4, 3, 3, 4, 3, 5, 3, 4, 3, 6, 3, 3, 5, 3, 4, 3, 6, 5, 3, 5, 3, 4, 3, 6, 3, 4, 3, 5, 3, 4, 3, 6, 3, 6, 3, 5, 3, 4, 3, 6, 3, 5, 3, 3, 5, 3, 4, 3, 6, 3, 5, 3, 2, 3, 5, 3, 4, 3, 6, 3, 5, 3, 4, 3, 5, 3, 4, 3, 6, 3, 5, 3, 3, 3, 3, 5, 3
OFFSET
0,2
LINKS
FORMULA
a(n) = A053610(A276583(n)).
a(0) = 0; for n >= 1, a(n) = A276583(n) - A276583(n-1).
PROG
(Scheme, two alternatives)
(define (A276585 n) (A053610 (A276583 n)))
(define (A276585 n) (if (zero? n) n (- (A276583 n) (A276583 (- n 1)))))
CROSSREFS
Sequence in context: A276575 A244540 A337682 * A057853 A240088 A261735
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 07 2016
STATUS
approved