|
|
A124044
|
|
Number of ways to express 4n+3 as the sum of an odd square and twice a prime.
|
|
1
|
|
|
0, 1, 1, 2, 1, 2, 1, 2, 3, 2, 1, 3, 1, 2, 3, 3, 1, 3, 2, 0, 4, 4, 2, 4, 1, 2, 4, 2, 2, 3, 2, 3, 4, 3, 1, 6, 3, 1, 4, 3, 1, 6, 2, 3, 3, 4, 2, 3, 4, 1, 6, 4, 1, 6, 2, 2, 7, 3, 2, 4, 4, 2, 4, 4, 2, 6, 2, 2, 4, 3, 3, 6, 1, 2, 6, 5, 3, 5, 4, 1, 5, 6, 1, 6, 2, 3, 6, 3, 2, 4, 4, 3, 6, 5, 1, 9, 4, 2, 8, 3, 2
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,4
|
|
COMMENTS
|
Is there any n > 19 for which a(n) = 0? There are no others below 50000.
|
|
REFERENCES
|
Underwood Dudley, "Mathematical Cranks", Mathematical Association of America 1992, p. 240.
Sci.math thread "Conjecture in 'Mathematical Cranks'", November 2006.
|
|
LINKS
|
|
|
EXAMPLE
|
4*3 + 3 = 15 = 1^2 + 2*7 = 3^2 + 2*3, so a(3) = 2.
|
|
MAPLE
|
f:= n -> nops(select(isprime, [seq]((4*n+3-(2*i+1)^2)/2, i=0..floor((sqrt(4*n+3)-1)/2)))): [seq](f(n), n=0..100);
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|