OFFSET
1,1
REFERENCES
C. Stanley Ogilvy and John T. Anderson, Excursions in Number Theory, Dover, New York, 1988.
MATHEMATICA
PrimeFactors[n_] := Flatten[ Table[ # [[1]], {1}] & /@ FactorInteger[n]]; a = {}; Do[l = PrimeFactors[((Prime[n]*Prime[n + 1])^2 + 1)/2]; If[ Position[a, l[[1]]] == {}, AppendTo[a, l[[1]]]], {n, 2, 127}]; a
PROG
(PARI) f(k) = vecmin(factor(((prime(k)*prime(k+1))^2 + 1)/2)[, 1]);
lista(nn) = my(list=List()); for (n=2, nn, my(fn = f(n)); if (!vecsearch(vecsort(Vec(list)), fn), listput(list, fn)); ); Vec(list); \\ Michel Marcus, May 14 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Bill McEachen, Aug 22 2003
EXTENSIONS
Edited by Robert G. Wilson v, Sep 27 2003
Entry revised by Sean A. Irvine, May 14 2025
STATUS
approved
