login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A105117 Minimal number of perfect powers needed to sum to prime(n). 0
2, 3, 2, 4, 3, 2, 2, 3, 4, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 3, 2, 3, 3, 2, 2, 2, 3, 3, 2, 2, 2, 3, 2, 3, 2, 3, 2, 3, 4, 2, 3, 2, 3, 2, 2, 3, 3, 2, 3, 2, 2, 3, 2, 2, 2, 3, 2, 3, 2, 2, 2, 2, 2, 3, 2, 2, 3, 2, 2, 2, 2, 2, 3, 2, 2, 3, 2, 2, 2, 2, 3, 2, 3, 2, 2, 2, 2, 2, 2, 3, 3, 3, 2, 3, 2, 3, 2, 2, 3, 2, 3, 2, 3, 2, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Perfect Power.
EXAMPLE
a(4) = 4 since prime(4) = 7 = 1+1+1+4.
a(8) = 3 since prime(8) = 19 = 1+9+9.
a(11) = 2 since prime(11) = 31 = 4+27.
a(14) = 2 since prime(14) = 43 = 16+27.
CROSSREFS
Cf. A001597.
Sequence in context: A277859 A308566 A288535 * A100876 A089215 A238766
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Apr 08 2005
EXTENSIONS
Corrected and extended by Ray Chandler, May 05 2005
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 11:35 EDT 2024. Contains 371912 sequences. (Running on oeis4.)