OFFSET
1,1
COMMENTS
Such primes are sometimes called Carol primes of base 12.
LINKS
Prime-Wiki, Carol-Kynea prime.
Eric Weisstein's World of Mathematics, Near-Square Prime.
MATHEMATICA
Select[Range[1500], PrimeQ[(12^#-1)^2-2]&] (* James C. McMahon, Jan 04 2024 *)
PROG
(PARI) for(k=1, 1200, ispseudoprime((12^k-1)^2-2)&&print1(k, ", "))
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Jeppe Stig Nielsen, Jul 03 2023
STATUS
approved