OFFSET
2,1
LINKS
Robert Israel, Table of n, a(n) for n = 2..10000
FORMULA
The even-indexed terms are given by A007742.
MAPLE
f:= proc(n)
local b0, b;
b0:= (2*n+1)/2;
b:= b0;
do
b:= b0*floor(b);
if b::integer then return b fi
od
end proc:
map(f, [$2..100]); # Robert Israel, Nov 25 2019
MATHEMATICA
f[n_] := Module[{b0, b}, b0 = (2n+1)/2; b = b0; While[True, b = b0*Floor[b]; If[IntegerQ[b], Return[b]]]];
Table[f[n], {n, 2, 100}] (* Jean-François Alcover, Oct 23 2023, after Robert Israel *)
CROSSREFS
KEYWORD
nonn,look
AUTHOR
N. J. A. Sloane, following a suggestion of Bela Bajnok (bbajnok(AT)gettysburg.edu), Sep 27 2003
EXTENSIONS
Offset corrected by Robert Israel, Nov 25 2019
STATUS
approved