OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A008966(n(n+1)/2).
Asymptotic mean: lim_{n->oo} (1/n) * Sum_{k=1..n} a(k) = (3/2)*A065474 = 0.4839511484... . - Amiram Eldar, May 10 2022
MATHEMATICA
Table[If[SquareFreeQ[n(n+1)/2], 1, 0], {n, 200}]
If[SquareFreeQ[#], 1, 0]&/@Accumulate[Range[120]] (* Harvey P. Dale, Nov 22 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Jul 23 2010
STATUS
approved