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”).

A030602
a(n)=(# 1's)-(# 2's) in first n terms of A030588.
1
1, 1, 1, 2, 3, 4, 4, 5, 5, 4, 5, 4, 4, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 8, 9, 9, 9, 10, 10, 10, 11, 12, 13, 14, 15, 15, 16, 17, 17, 18, 17, 18, 19, 18, 18, 19, 18, 18, 19, 19, 20, 21, 21, 21, 22, 22, 22, 23, 23, 24, 25
OFFSET
1,4
CROSSREFS
Sequence in context: A088527 A343400 A372599 * A133947 A082090 A060197
KEYWORD
nonn
STATUS
approved