OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
The prime factors of 10 are 2 and 5 and 2 * 5 - 1 = 9 is a square; so 10 belongs to the sequence.
MATHEMATICA
ppf[n_] := Apply[Times, Transpose[FactorInteger[n]][[1]]]; Select[Range[2, 10^3], IntegerQ[Sqrt[ppf[ # ] - 1]] &]
PROG
(PARI) isok(k) = (k>1) && issquare(vecprod(factor(k)[, 1])-1); \\ Michel Marcus, Sep 05 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Jan 04 2004
EXTENSIONS
Name clarified by Michel Marcus, Sep 05 2023
STATUS
approved