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!)
A271956 Numbers n such that 2*n*3^n - 1 is prime. 1
1, 4, 6, 10, 35, 112, 149, 390, 424, 566, 660, 664, 850, 1414, 1436, 1497, 1524, 1904, 5116, 6625, 10944, 12637, 35691, 92304 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
No further terms < 10^5.
LINKS
EXAMPLE
1 is in this sequence because 2*1*3^1 - 1 = 5 is prime.
MAPLE
A271956:=n->`if`(isprime(2*n*3^n-1), n, NULL): seq(A271956(n), n=1..2*10^3); # Wesley Ivan Hurt, Apr 17 2016
MATHEMATICA
Select[Range[10000], PrimeQ[2 # 3^# - 1] &]
PROG
(PARI) is(n)=ispseudoprime(2*n*3^n-1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A242565 A032392 A253048 * A242502 A136838 A234276
KEYWORD
nonn,more
AUTHOR
Ray Chandler, Apr 17 2016
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 15:20 EDT 2024. Contains 371916 sequences. (Running on oeis4.)