Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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!)
A284667 Numbers of form p^i + p^j for at least two values of p prime and i, j > 0. 0
6, 10, 12, 18, 30, 34, 36, 130, 132, 514, 131074 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
2*F is in the sequence, where F is a Fermat prime.
a(12) (if it exists) > 2*10^9. - Giovanni Resta, Apr 02 2017
LINKS
EXAMPLE
10 = 2^3 + 2^1 = 5^1 + 5^1.
30 = 3^3 + 3^1 = 5^2 + 5^1.
132 = 2^7 + 2^2 = 11^2 + 11^1.
PROG
(PARI) limit=L; v=vector(limit); for(n=1, limit, forprime(p=2, n/2, for(k=1, logint(n\2, 2), for(j=k, logint(n, 2), forprime(q=p+1, n/2, for(t=1, logint(n\2, 3), for(u=t, logint(n, 3), if(n-p^k==p^j&&n-q^t==q^u, v[n]=1)))))))); for(n=1, limit, if(v[n], print1(n", ")))
CROSSREFS
Sequence in context: A076763 A064712 A348629 * A315132 A352101 A315133
KEYWORD
nonn,more
AUTHOR
Gionata Neri, Mar 31 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 18 15:26 EDT 2024. Contains 375269 sequences. (Running on oeis4.)