cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A066503 a(n) = n - squarefree kernel of n, A007947.

This page as a plain text file.
%I A066503 #17 Dec 05 2023 04:19:45
%S A066503 0,0,0,2,0,0,0,6,6,0,0,6,0,0,0,14,0,12,0,10,0,0,0,18,20,0,24,14,0,0,0,
%T A066503 30,0,0,0,30,0,0,0,30,0,0,0,22,30,0,0,42,42,40,0,26,0,48,0,42,0,0,0,
%U A066503 30,0,0,42,62,0,0,0,34,0,0,0,66,0,0,60,38,0,0
%N A066503 a(n) = n - squarefree kernel of n, A007947.
%H A066503 Harry J. Smith, <a href="/A066503/b066503.txt">Table of n, a(n) for n = 1..1000</a>
%F A066503 a(n) = n - A007947(n).
%F A066503 a(A005117(n)) = 0.
%F A066503 Sum_{k=1..n} a(k) ~ c * n^2 / 2, where c = 1 - A065463 = 0.295557... . - _Amiram Eldar_, Dec 05 2023
%t A066503 a[n_] := n - Times @@ FactorInteger[n][[All, 1]];
%t A066503 Table[a[n], {n, 1, 100}] (* _Jean-François Alcover_, Dec 01 2021 *)
%o A066503 (PARI) { for (n=1, 1000, f=factor(n); k=1; for(i=1, matsize(f)[1], k*=f[i, 1]); write("b066503.txt", n, " ", n - k) ) } \\ _Harry J. Smith_, Feb 18 2010
%Y A066503 Cf. A005117, A007947, A065463.
%K A066503 nonn,easy
%O A066503 1,4
%A A066503 _Reinhard Zumkeller_, Jan 04 2002