login
Numbers k such that 3^k + 3^4 + 1 is prime.
1

%I #25 Sep 26 2024 16:23:00

%S 0,3,4,6,7,22,28,39,115,144,379,391,858,1851,5815,7495,7686,7726,9636,

%T 13006,19063,19719,21202,25516,26542,31204,53655,54294,68431

%N Numbers k such that 3^k + 3^4 + 1 is prime.

%o (PARI) for(n=0,9999,ispseudoprime(3^n+3^4+1)&print1(n", "))

%Y The corresponding primes are listed in A102908.

%K nonn,more

%O 1,2

%A _M. F. Hasler_, Nov 25 2009

%E a(15)-a(23) from _Michael S. Branicky_, Jan 13 2023

%E a(24)-a(26) from _Michael S. Branicky_, Mar 10 2023

%E a(1)=0 and a(27)-a(29) from _Michael S. Branicky_, Sep 26 2024