login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A045701 Number of ways n can be written as a sum of a square of a prime and a cube of a prime. 5
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Ray Chandler, Table of n, a(n) for n = 1..10000

FORMULA

G.f.: (Sum_{k>=1} x^(prime(k)^2))*(Sum_{k>=1} x^(prime(k)^3)). - Ilya Gutkovskiy, Jan 06 2017

EXAMPLE

a(12) = 1 because 12 = 2^2 + 2^3; a(17) = 1 because 17 = 2^3 + 3^2.

a(129) = 2 because 129 = 2^3 + 11^2 = 2^2 + 5^3.

CROSSREFS

Cf. A045699, A045700, A196752, A196753.

Sequence in context: A323547 A294930 A294937 * A277156 A193095 A011725

Adjacent sequences:  A045698 A045699 A045700 * A045702 A045703 A045704

KEYWORD

easy,nonn

AUTHOR

Felice Russo

EXTENSIONS

More terms from Erich Friedman

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 19 15:34 EDT 2021. Contains 348091 sequences. (Running on oeis4.)