This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A289193 Number of ways to represent prime(n)^3 as a sum of 3 distinct primes. 1
 0, 3, 45, 204, 1735, 3640, 13529, 22271, 58302, 182507, 250688, 613046, 1038538, 1311167, 2081983, 3851401, 6675916, 7887193, 12835857, 17422352, 20067757, 30239982, 39351402, 56657043, 88847952, 110134459, 121855019 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS From the ternary Goldbach conjecture. LINKS Charles R Greathouse IV, Table of n, a(n) for n = 1..50 FORMULA a(n) = A125688(A030078(n)). EXAMPLE a(2)=3: prime(2)=3, and 3^3=27=3+5+19=3+7+17=3+11+13 (3 ways). MATHEMATICA Table[Length@ Select[IntegerPartitions[Prime[n]^3, {3}], And[AllTrue[#, PrimeQ], UnsameQ @@ #] &], {n, 7}] (* Michael De Vlieger, Jun 28 2017 *) PROG (PARI) a(n)=my(t=prime(n)^3, tp, s); forprime(p=t\3, t-4, tp=t-p; forprime(q=tp\2+1, min(tp, p-1), if(isprime(tp-q), s++))); s \\ Charles R Greathouse IV, Jul 02 2017 CROSSREFS Cf. A030078, A068307, A007963, A125688. Sequence in context: A093585 A062270 A069955 * A062346 A002682 A073595 Adjacent sequences:  A289190 A289191 A289192 * A289194 A289195 A289196 KEYWORD nonn AUTHOR Zak Seidov, Jun 28 2017 EXTENSIONS a(11)-a(27) from Charles R Greathouse IV, Jul 02 2017 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.

Last modified July 22 14:53 EDT 2019. Contains 325224 sequences. (Running on oeis4.)