login
Number of representations of n as the sum of a prime number and a fourth power of a positive integer.
4

%I #8 Aug 30 2023 21:27:36

%S 0,0,1,1,0,1,0,1,0,0,0,1,0,1,0,0,0,2,1,1,1,0,1,1,0,0,1,0,1,1,0,1,1,0,

%T 1,0,0,1,1,0,0,1,0,1,1,0,1,1,0,0,0,0,1,1,0,0,1,0,1,1,0,1,1,0,0,0,0,1,

%U 1,0,0,1,0,1,1,0,1,0,0,1,0,0,2,2,0,1,1,1,1,1,0,1,0,1,1,0,0,2,1,1,0,1,0,2,1,0,0,1,0,2,0,1,1,1,0,0,1,1,1

%N Number of representations of n as the sum of a prime number and a fourth power of a positive integer.

%F G.f.: (Sum_{i>=1} x^prime(i)) * (Sum_{j>=1} x^(j^4)).

%t nmax = 120; CoefficientList[Series[Sum[x^Prime[i], {i, 1, nmax}] Sum[x^j^4, {j, 1, nmax^(1/4)}], {x, 0, nmax}], x] // Rest

%Y Cf. A064272, A283760, A365126, A365168, A365169.

%K nonn

%O 1,18

%A _Ilya Gutkovskiy_, Aug 24 2023