OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A006530(2n+1). - Robert Israel, Mar 17 2017
MAPLE
seq(max(numtheory:-factorset(2*n+1)), n=1..200); # Robert Israel, Mar 17 2017
MATHEMATICA
Table[FactorInteger[2n + 1][[-1, 1]], {n, 1, 100}] (* Indranil Ghosh, Mar 20 2017 *)
PROG
(PARI) for(n=1, 100, print1(vecmax(factor(2*n + 1)[, 1]), ", ")) \\ Indranil Ghosh, Mar 20 2017
(Python)
from sympy.ntheory import primefactors
print([max(primefactors(2*n + 1)) for n in range(1, 101)]) # Indranil Ghosh, Mar 20 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Oct 19 2002
STATUS
approved