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!)
A172996 Primes of form (3^n+7)/2. 2
5, 17, 1097, 304133393856678854559841996309430657 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = (3^A172995(n)+7)/2.
MATHEMATICA
Select[Table[(3^n + 7)/2, {n, 500}], PrimeQ] (* Vincenzo Librandi, Sep 24 2015 *)
PROG
(Magma) [a: n in [0..500] | IsPrime(a) where a is (3^n+7) div 2]; // Vincenzo Librandi, Sep 24 2015
(PARI) for(n=1, 1e3, if(isprime(k=(3^n+7)/2), print1(k", "))) \\ Altug Alkan Sep 24 2015
CROSSREFS
Cf. A172995.
Sequence in context: A218378 A119531 A248921 * A253624 A085832 A062223
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Feb 07 2010
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 March 28 18:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)