OFFSET
0,14
COMMENTS
Number of ordered ways of writing n as the sum of two squares of primes (A001248).
FORMULA
G.f.: (Sum_{k>=1} x^(prime(k)^2))^2.
EXAMPLE
a(13) = 2 because we have [4, 9] and [9, 4].
MATHEMATICA
nmax = 125; CoefficientList[Series[(Sum[x^Prime[k]^2, {k, 1, nmax}])^2, {x, 0, nmax}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Dec 24 2016
STATUS
approved