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!)
A058960 Numbers k such that (3^k + 5)/2 is prime. 0
0, 2, 4, 6, 10, 60, 66, 100, 144, 156, 450, 454, 456, 744, 1354, 1942, 2074, 2556, 3252, 4300, 9148, 10318, 10806, 19518, 26182 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Do[ If[ PrimeQ[(3^n + 5) / 2], Print[n] ], {n, 0, 3000} ]
Select[Range[0, 10000], PrimeQ[(3^# + 5)/2] &] (* Vincenzo Librandi, Sep 29 2012 *)
PROG
(PARI) is(n)=ispseudoprime((3^n+5)/2) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A207667 A085809 A073308 * A036053 A237816 A088906
KEYWORD
nonn,more
AUTHOR
Robert G. Wilson v, Jan 13 2001
EXTENSIONS
Added a(1)=0 and a(19)-a(21) from Vincenzo Librandi, Sep 29 2012
a(22)-a(24) from Jinyuan Wang, Jan 27 2020
a(25) from Michael S. Branicky, Apr 24 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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)