OFFSET
1,1
LINKS
Robert G. Wilson v, Table of n, a(n) for n = 1..36
FORMULA
Limit_{n->oo} a(n)/10^n = A229099. - Robert G. Wilson v, Aug 12 2014
a(n) = 10^n - A071172(n). - Amiram Eldar, Mar 10 2024
MATHEMATICA
f[n_] := Sum[-MoebiusMu[i]Floor[n/i^2], {i, 2, Sqrt@ n}]; Table[ f[10^n], {n, 0, 14}]
PROG
(PARI) { default(realprecision, 50); for (n=1, 100, t=10^n - 1; a=10^n - sum(k=1, sqrt(t), moebius(k)*floor(t/k^2)); write("b063035.txt", n, " ", a) ) } \\ Harry J. Smith, Aug 16 2009
(Python)
from math import isqrt
from sympy import mobius
def A063035(n): return (m:=10**n)-sum(mobius(k)*(m//k**2) for k in range(1, isqrt(m)+1)) # Chai Wah Wu, Jul 20 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Aug 02 2001
EXTENSIONS
More terms from Harry J. Smith, Aug 16 2009
Edited (with a more precise definition and a new value for a(1)) by N. J. A. Sloane, Aug 06 2012. As a result of this change, the programs probably now give the wrong value for a(1). The source of the trouble was the ambiguous meaning of squareful - the official definition of squareful is A001694.
STATUS
approved