login
Primes of the form n*3^n - 1.
4

%I #12 Jul 03 2018 21:19:40

%S 2,17,4373,590489,6973568801,486306618362277152039,

%T 407695153504015050412733,9266726751303003316378520780678994459797093,

%U 23560801709989209203195024431348154965368236005496270061701

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

%H Harry J. Smith, <a href="/A060353/b060353.txt">Table of n, a(n) for n = 1..11</a>

%o (PARI) { allocatemem(932245000); n=0; for (m=1, 1172, a=m*3^m - 1; if (isprime(a), write("b060353.txt", n++, " ", a)); ) } \\ _Harry J. Smith_, Jul 04 2009

%Y Cf. A060352.

%K nonn

%O 1,1

%A _Jason Earls_, Mar 31 2001

%E More terms from _William Rex Marshall_, Apr 01 2001