login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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.
No others below 10^9. Heuristics suggest there are no more. - Charles R Greathouse IV, Sep 13 2013
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
Sequence in context: A217581 A366521 A348581 * A059981 A033676 A095165
KEYWORD
easy,nonn
AUTHOR
Robert Israel, Nov 02 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 07:42 EDT 2024. Contains 371905 sequences. (Running on oeis4.)