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!)
A165744 Numbers k with property that 6^k is the sum of two consecutive primes. 0
2, 3, 7, 36, 54, 143, 1102, 1678 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
k=2: 6^2 = 36 = 17 + 19 = prime(7) + prime(8);
k=3: 6^3 = 216 = 107 + 109 = prime(28) + prime(29);
k=7: 6^7 = 279936 = 139967 + 139969 = prime(13005) + prime(13006).
MATHEMATICA
(* M6 *) Do[If[PreviousPrime[6^n/2]+NextPrime[6^n/2]==6^n, Print[n]], {n, 1000}]
PROG
(PARI) is(k) = my(t=6^k); precprime(t/2)+nextprime(1+t/2)==t; \\ Jinyuan Wang, Feb 18 2021
CROSSREFS
Sequence in context: A004026 A135907 A027624 * A330554 A304524 A034900
KEYWORD
nonn,more
AUTHOR
Zak Seidov, Sep 26 2009
EXTENSIONS
a(7) from Max Alekseyev, Dec 14 2011
a(8) from Amiram Eldar, Apr 06 2019
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 07:57 EDT 2024. Contains 371905 sequences. (Running on oeis4.)