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!)
A115986 Primes p such that the average of p and nextprime(p) is a power of 3. 4
7, 79, 387420479, 3486784393, 7509466514979724803946715958257527, 147808829414345923316083210206383297581 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
Nextprime(387420479) = 387420499 and (387420479 + 387420499)/2 = 387420489 = 3^18.
PROG
(PARI) lista(nn) = for(k=1, nn, if(precprime(3^k-1)+nextprime(3^k+1)==2*3^k, print1(precprime(3^k-1), ", "))); \\ Jinyuan Wang, Feb 26 2020
CROSSREFS
Sequence in context: A052385 A093947 A222137 * A295843 A085606 A365817
KEYWORD
nonn,changed
AUTHOR
Giovanni Resta, Feb 10 2006
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 14:49 EDT 2024. Contains 371914 sequences. (Running on oeis4.)