OFFSET
1,1
COMMENTS
No more terms <= 10^8.
No more terms <= 2 * 10^38. [Charles R Greathouse IV, Aug 22 2011]
All terms are odd. - Kausthub Gudipati, Aug 22 2011
LINKS
Florian Luca and Filip Najman, On the largest prime factor of x^2 - 1. Math. Comp. 80 (2011), 429-435.
FORMULA
EXAMPLE
881^2-1 = 776160 = 2^5 * 3^2 * 5 *7^2 * 11 (all primes <= 11 appear), so 881 is a term.
MATHEMATICA
Select[Range[1, 10^4], First@ # == 1 && If[Length@ # > 1, Union@ Differences@ # == {1}, True] &@ PrimePi@ Map[First, FactorInteger[#^2 - 1]] &] (* Michael De Vlieger, Jul 02 2016 *)
PROG
(PARI) isok(n) = my(f = factor(n^2-1)); #f~ == primepi(f[#f~, 1]); \\ Michel Marcus, Jul 02 2016
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Vladimir Shevelev, Aug 15 2011
STATUS
approved