OFFSET
1,2
MAPLE
A118000 := 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: a118000 := A118000(100) : for n from 1 to nops(a118000)-1 do printf("%d, ", op(n+1, a118000)- op(n, a118000)) ; od ; # R. J. Mathar, Jun 06 2007
MATHEMATICA
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Apr 09 2006
EXTENSIONS
Corrected and extended by R. J. Mathar, Jun 06 2007
STATUS
approved