login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A364076
Numbers k such that (12^k - 1)^2 - 2 is prime.
3
3, 29, 51, 7824, 15456, 22614, 28312, 47014, 68835
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
Cf. A091515 (b=2), A100901 (b=6), A100903 (b=10), A100905 (b=14), A364078 (b=18), A364080 (b=20), A100907 (b=22).
Sequence in context: A165440 A072306 A303137 * A228613 A071150 A107189
KEYWORD
nonn,hard,more
AUTHOR
Jeppe Stig Nielsen, Jul 03 2023
STATUS
approved