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

A184221
a(n) = A184220(n)/A133150(n) unless A133150(n) = 0 in which case a(n) = 0.
3
0, 0, 0, 0, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 7, 7, 1, 2, 1, 2, 1, 7, 7, 2, 1, 2, 1, 2, 7, 14, 1, 2, 1, 2, 1, 14, 7, 17, 1, 2, 1, 2, 17, 14, 1, 2, 1, 2, 23, 14, 7, 2, 1, 2, 17, 2, 7, 14, 1, 17, 1, 23, 1, 14, 7, 2, 1, 31, 1, 2, 7, 34, 1, 2, 1
OFFSET
1,7
COMMENTS
a(n) is the "level" of squares (A000290).
The decomposition of squares into weight * level + gap is A000217(n) = A133150(n) * a(n) + A005408(n) if a(n) > 0.
A184220(n) = A000290(n) - A005408(n) if A000217(n) - A005408(n) > A005408(n), 0 otherwise.
LINKS
EXAMPLE
For n = 3 we have A133150(3) = 0, hence a(3) = 0.
For n = 5 we have A184220(5)/A133150(5) = 14 / 14 = 1, hence a(5) = 1.
For n = 25 we have A184220(25)/A133150(25) = 574 / 82 = 5, hence a(25) = 7.
KEYWORD
nonn
AUTHOR
Rémi Eismann, Jan 10 2011
STATUS
approved