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!)
A057735 Primes of the form 3^k + 2. 23
3, 5, 11, 29, 83, 6563, 59051, 4782971, 14348909, 282429536483, 2541865828331, 150094635296999123, 1144561273430837494885949696429, 57264168970223481226273458862846808078011946891, 30432527221704537086371993251530170531786747066637051 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = 3^A051783(n) + 2. - Elmo R. Oliveira, Nov 09 2023
MATHEMATICA
Select[Table[3^n+2, {n, 0, 200}], PrimeQ] (* Vincenzo Librandi, Dec 08 2011 *)
PROG
(Magma) [a: n in [0..200] | IsPrime(a) where a is 3^n+2]; // Vincenzo Librandi, Dec 08 2011
(PARI) select(ispseudoprime, vector(100, n, 3^n+2)) \\ Charles R Greathouse IV, Apr 29 2015
CROSSREFS
Cf. A000040, A051783 (corresponding k's).
Sequence in context: A194563 A080443 A168607 * A095302 A335367 A000101
KEYWORD
nonn
AUTHOR
G. L. Honaker, Jr., Oct 29 2000
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 02:23 EDT 2024. Contains 371906 sequences. (Running on oeis4.)