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!)
A160501 (n+1)^prime(n+1) + n^prime(n). 1
9, 251, 16627, 48844509, 13109522141, 232643574681223, 144347818589843079, 8863082234840576951801, 100000008862938119652501095929, 192043424957750480504146841291811 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(2)=251 is the only prime found for n up to 10000 using The C/Gmp program in the link which is 17 times faster than the PARI routine.
Here there are divisibility rules: If prime(n) and prime(n+1) do not differ by 6, then n^2+n+1 is a divisor. So finding primes in this case will be difficult since 5/6 of the numbers are composite at the onset.
If another prime exists, it is larger than 418977 digits.
LINKS
FORMULA
a(n) = (n+1)^prime(n+1) + n^prime(n) = A062481(n)+A062481(n+1).
EXAMPLE
For n = 3, 4^7 + 3^5 = 16627, the 3rd entry in the sequence.
MATHEMATICA
Table[n^Prime[n]+(n+1)^Prime[n+1], {n, 10}] (* Harvey P. Dale, Sep 10 2016 *)
Total/@Partition[Table[n^Prime[n] , {n, 15}], 2, 1] (* Harvey P. Dale, Sep 22 2020 *)
PROG
(PARI) ppower(n) = { for(x=1, n, y=(x+1)^prime(x+1) + x^prime(x); print1(y", ") ); }
CROSSREFS
Cf. A160491.
Sequence in context: A007408 A066989 A249593 * A075987 A135099 A073427
KEYWORD
nonn
AUTHOR
Cino Hilliard, May 15 2009
EXTENSIONS
Edited by R. J. Mathar, May 30 2009
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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)