Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A134657
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A134657 Numbers of the form p^2 + q^3 + r^4 with p, q and r primes. +0
1
28, 33, 47, 49, 52, 68, 73, 92, 93, 98, 112, 114, 117, 133, 138, 145, 150, 157, 164, 166, 190, 193, 210, 212, 215, 229, 231, 255, 258, 262, 277, 310, 313, 327, 332, 363, 368, 375, 378, 384, 385, 397, 404, 408, 428, 430, 433, 449, 450, 469, 473, 480, 495 (list; graph; listen)
OFFSET

1,1

LINKS

Project Euler, Problem 87.

EXAMPLE

a(1) = 28 = 2^2 + 2^3 + 2^4 is the smallest sum of a prime square, cube and 4th power.

a(2) = 33 = 3^2 + 2^3 + 2^4 is the next number of that form.

PROGRAM

(PARI) is_p87(n, t, tt)={forprime(p=2, sqrtn(n, 4), t=n-p^4; forprime(q=2, sqrtn(t, 3), issquare(t-q^3, &tt)|next; isprime(tt)&return(1)))} print_p87(Nmax=999)=for(n=1, Nmax, is_p87(n)&print1(n", "))

CROSSREFS

Cf. A045701.

Sequence in context: A031171 A121018 A090637 this_sequence A138687 A055576 A101421

Adjacent sequences: A134654 A134655 A134656 this_sequence A134658 A134659 A134660

KEYWORD

easy,nonn

AUTHOR

M. F. Hasler (Maximilian.Hasler(AT)gmail.com), Jan 25 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 24 12:00 EDT 2008. Contains 142294 sequences.


AT&T Labs Research