|
|
A243224
|
|
Number of odd divisors d of n such that d > 1 and d(1+d/3)/2 <= n <= 3d(d-1)/2.
|
|
2
|
|
|
0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 2, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 2, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,45
|
|
COMMENTS
|
This sequence is useful for computing A243223, the number of partitions of n into summands in arithmetic progression with common difference 3. The definition follows Nyblom and Evans 2003 (see LINK) with slight modifications and corrections.
|
|
LINKS
|
|
|
EXAMPLE
|
a(6) = 1 because 3, the unique odd divisor > 1 of 6 satisfies 3(1+3/3)/2 <= 6 <= 3.3(3-1)/2.
|
|
PROG
|
(PARI) a(n) = sumdiv(n, d, (d > 1) && (d % 2) && (d*(1+d/3)/2 <= n) && (n <= 3*d*(d-1)/2)); \\ Michel Marcus, Jun 02 2014
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|