OFFSET
0,2
COMMENTS
a(n) is a Carmichael number if all the three factors (6*n + 1), (12*n + 1), and (18*n + 1) are prime (see Chernick and Ribenboim).
REFERENCES
Paulo Ribenboim, The Little Book of Bigger Primes, Springer-Verlag NY 2004. See p. 101.
James J. Tattersall, Elementary Number Theory in Nine Chapters, Cambridge University Press, 1999, page 146.
LINKS
Jack Chernick, On Fermat's simple theorem, Bulletin of the American Mathematical Society, Vol. 45, No. 4 (1939), pp. 269-274.
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
MATHEMATICA
LinearRecurrence[{4, -6, 4, -1}, {1, 1729, 12025, 38665}, 31]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Stefano Spezia, Apr 05 2025
STATUS
approved
