A102906 Primes of the form 3^k + 28.
29, 31, 37, 109, 271, 757, 59077, 4782997, 43046749, 847288609471, 717897987691852588770277, 58149737003040059690390197, 30903154382632612361920641803557, 1824800363140073127359051977856583949
Offset: 1
Keywords
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..23
Programs
-
Magma
[ a: n in [0..100] | IsPrime(a) where a is 3^n+28 ]; // Vincenzo Librandi, Jul 19 2012
-
Mathematica
Select[Table[3^n+28,{n,0,1000}],PrimeQ] (* Vincenzo Librandi, Jul 19 2012 *)
Formula
a(n) = 3^A219046(n) + 28. - Elmo R. Oliveira, Nov 12 2023
Extensions
a(1) added by Vincenzo Librandi, Jul 19 2012