login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A072358 Number of cubefree numbers <= n which are not squarefree. 2

%I #17 Feb 16 2021 04:31:26

%S 0,0,0,1,1,1,1,1,2,2,2,3,3,3,3,3,3,4,4,5,5,5,5,5,6,6,6,7,7,7,7,7,7,7,

%T 7,8,8,8,8,8,8,8,8,9,10,10,10,10,11,12,12,13,13,13,13,13,13,13,13,14,

%U 14,14,15,15,15,15,15,16,16,16,16,16,16,16,17,18,18,18,18,18,18,18,18,19

%N Number of cubefree numbers <= n which are not squarefree.

%H Reinhard Zumkeller, <a href="/A072358/b072358.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = A060431(n) - A013928(n+1).

%F a(n) = Sum_{k=1..n} (A212793(k) * (1 - A008966(k))). - _Reinhard Zumkeller_, May 27 2012

%F a(n) ~ c * n, where c = 1/zeta(3) - 1/zeta(2) = A088453 - A059956 = 0.22398... - _Amiram Eldar_, Feb 16 2021

%t Accumulate @ Table[Boole[Max @ FactorInteger[n][[;; , 2]] == 2], {n, 1, 100}] (* _Amiram Eldar_, Feb 16 2021 *)

%o (Haskell)

%o a072358 n = a072358_list !! (n-1)

%o a072358_list = scanl1 (+) $

%o zipWith (*) a212793_list $ map (1 -) a008966_list

%o -- _Reinhard Zumkeller_, May 27 2012

%Y Cf. A067259, A004709, A005117, A059956, A088453.

%K nonn

%O 1,9

%A _Reinhard Zumkeller_, Jul 18 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)