OFFSET
1,1
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
a(6) = (6 / LeastPrimeFactor(6)) * LeastPrimeFactor(7) = 21.
MATHEMATICA
a[1] := 2; a[n_] := n*FactorInteger[n + 1][[1, 1]]/FactorInteger[n][[1, 1]]; Table[a[n], {n, 69}] (* Ivan Neretin, May 20 2015 *)
PROG
(PARI) a(n) = if (n==1, 2, n*factor(n+1)[1, 1]/factor(n)[1, 1]); \\ Michel Marcus, Aug 14 2013
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Lior Manor, Dec 25 2006
STATUS
approved