OFFSET
1,1
COMMENTS
A number n is in the sequence iff it is not a "triangle-free" positive integer.
Multiples of A226863. - Charles R Greathouse IV, Jul 29 2016
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A088723(n)/2. - Ray Chandler, May 29 2008
EXAMPLE
12 is included because its divisors are 1, 2, 3, 4, 6 and 12, two of which (3 and 6) are triangular numbers > 1.
MATHEMATICA
v={}; Do[If[b=Select[Divisors[n], #>1 && IntegerQ[(1+8#)^(1/2)]&]; b!={}, AppendTo[v, n]], {n, 200}]; v (* Farideh Firoozbakht, Jan 12 2006 *)
Select[Range[200], AnyTrue[Rest[Divisors[#]], OddQ[Sqrt[8#+1]]&]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Dec 13 2017 *)
PROG
(PARI) is(n)=fordiv(n, d, if(ispolygonal(d, 3) && d>1, return(1))); 0 \\ Charles R Greathouse IV, Jul 29 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jan 10 2006
EXTENSIONS
More terms from Farideh Firoozbakht, Jan 12 2006
STATUS
approved