login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A255337
After a(0) = 0, the first differences of A255057: for n >= 1: a(n) = A255057(n) - A255057(n-1).
4
0, 1, 1, 1, 2, 1, 1, 2, 2, 2, 1, 1, 1, 2, 3, 2, 2, 2, 2, 1, 1, 1, 2, 3, 2, 3, 3, 2, 1, 2, 3, 2, 2, 2, 2, 1, 1, 1, 2, 3, 2, 3, 2, 2, 3, 3, 3, 3, 3, 2, 1, 2, 3, 2, 3, 3, 2, 1, 2, 3, 2, 2, 2, 2, 1, 1, 1, 2, 3, 2, 3, 2, 2, 3, 3, 3, 3, 2, 2, 3, 3, 3, 4, 3, 3, 3, 3, 3, 3, 2, 1, 2, 3, 2, 3, 2, 2, 3, 3, 3, 3, 3, 2, 1, 2, 3, 2, 3, 3, 2, 1, 2, 3, 2, 2, 2, 2, 1, 1
OFFSET
0,5
COMMENTS
Used for computing A255338 and A255339.
LINKS
FORMULA
a(n) = A005811(A255056(n))/2.
a(0) = 0; and for n >= 1: a(n) = A255057(n) - A255057(n-1).
a(n) = A255336(n)/2.
PROG
(Scheme, two versions)
(define (A255337 n) (/ (A005811 (A255056 n)) 2))
(define (A255337 n) (if (zero? n) n (- (A255057 n) (A255057 (- n 1)))))
CROSSREFS
First differences of A255057.
Terms of A255336 divided by 2.
Sequence in context: A217463 A109073 A341694 * A026465 A051486 A218541
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 21 2015
STATUS
approved