login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A182374 Primes of the form n*3^n + 1. 0

%I

%S 19,52489,59296646043258913,3140085798164163223281069127,

%T 281013956365219695455558985684629594690518822413326510467

%N Primes of the form n*3^n + 1.

%C Similar to A060353, and to the Woodall primes A050918.

%e 19 = 2*3^2 + 1; 52489 = 8*3^8 + 1; a(3) = 32*3^32 + 1; a(4) = 54*3^54 + 1.

%p #choose N large, then S is the desired set

%p f:=n->n*3^n + 1:

%p S:={}:

%p for n from 0 to N do if(isprime(f(n))) then S:=S union {f(n)}: fi: od

%t Select[Table[n*3^n + 1, {n, 0, 580}], PrimeQ] (* _Jayanta Basu_, Jun 01 2013 *)

%Y Cf. A060353, A050918.

%K nonn

%O 1,1

%A _Patrick Devlin_, Apr 26 2012

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 21 13:06 EDT 2021. Contains 345364 sequences. (Running on oeis4.)