OFFSET
1,2
MAPLE
A118002 := proc(nmax) local a, n ; a := [0] ; while nops(a) < nmax do n := nops(a) ; while gcd(n, op(-1, a)) <> 1 do n := n-1 ; od ; a := [op(a), op(-1, a)+n] ; od ; RETURN(a) ; end: a118002 := A118002(100) : for n from 1 to nops(a118002)-1 do printf("%d, ", op(n+1, a118002)-op(n, a118002)) ; od ; # R. J. Mathar, Jun 06 2007
MATHEMATICA
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Apr 09 2006
EXTENSIONS
More terms from R. J. Mathar, Jun 06 2007
STATUS
approved