login
A046922
Number of ways to express n as p+2a^2; p prime, a >= 0.
4
0, 1, 1, 1, 2, 0, 2, 0, 1, 1, 2, 0, 3, 0, 2, 0, 1, 0, 3, 1, 3, 0, 2, 0, 3, 0, 1, 0, 2, 0, 4, 0, 1, 1, 2, 0, 4, 0, 3, 0, 2, 0, 3, 0, 3, 0, 2, 0, 4, 0, 2, 1, 2, 0, 5, 0, 1, 0, 2, 0, 6, 0, 3, 0, 1, 0, 3, 0, 4, 0, 2, 0, 4, 1, 4, 0, 2, 0, 6, 0, 3, 0, 2, 0, 4, 0, 2, 0, 3, 0, 6, 0, 2, 0, 1, 0, 4, 0, 2
OFFSET
1,5
PROG
(Haskell)
a046922 n = sum $ map (a010051 . (n -)) $ takeWhile (< n) a001105_list
-- Reinhard Zumkeller, Apr 03 2013
KEYWORD
nonn
STATUS
approved