OFFSET
1,2
COMMENTS
Heptagonal number analogy of A112886 (the triangle-free positive integers).
LINKS
Eric Weisstein's World of Mathematics, Heptagonal Number.
EXAMPLE
7 is the first nontrivial heptagonal number, so no multiple of 7 is a term.
MATHEMATICA
upto=100; Module[{maxhep=Floor[(3+Sqrt[9+40upto])/10], heps}, heps= Rest[ Table[(n(5n-3))/2, {n, maxhep}]]; Complement[Range[upto], Union[ Flatten[ Table[n*heps, {n, Ceiling[upto/7]}]]]]] (* Harvey P. Dale, May 19 2012 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Jan 14 2006
EXTENSIONS
Corrected by Harvey P. Dale, May 19 2012
STATUS
approved