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”).

A093666
Numbers n such that n | 3^n^2 + 1.
1
1, 2, 82, 3362, 137842, 188354, 5651522, 7722514, 13232914, 231712402, 316623074, 432649138, 542549474, 1196468642, 2650762258, 9500208482, 12981546034, 17738614658, 22244528434, 30396003458, 49055214322, 108681252578, 389508547762, 532243387394, 727283200978, 912025665794, 993795069986
OFFSET
1,2
COMMENTS
If n is a term and p is its odd prime divisor, then p*n is also a term. In particular, the sequence contains 2*41^k and 2*41*2297^k for all k>=1.
MATHEMATICA
Select[ Range[ 250000000], PowerMod[3, #^2, # ] +1 == # & ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Apr 02 2004
EXTENSIONS
Terms a(11) onward from Max Alekseyev, Feb 13 2012
STATUS
approved