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!)
A195815 Numbers k such that 2*(3^k-2*k)+1 is prime. 0
1, 2, 3, 5, 11, 188, 509, 1730, 2571, 3402, 4407, 9890, 18609, 20456, 32529, 38124 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The associated primes are 3, 11, 43, 467, 354251,....
LINKS
EXAMPLE
a(1)=1 because 2*(3^1-2*1)+1=3 is a prime, a(2)=2 because 2*(3^2-2*2)+1=11 is a prime, a(3)=3 because 2*(3^3-2*3)+1=43 is a prime, a(4)=5 because 2*(3^5-2*5)+1=467 is a prime, a(5)=11 because 2*(3^11-2*11)+1=354251 is a prime.
PROG
(PARI) is(n)=ispseudoprime(2*(3^n-2*n)+1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Cf. A195732.
Sequence in context: A118573 A051835 A075883 * A327428 A220346 A242995
KEYWORD
nonn,more
AUTHOR
EXTENSIONS
a(9)-a(16) from Michael S. Branicky, Jul 15 2023
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 19 16:08 EDT 2024. Contains 371794 sequences. (Running on oeis4.)