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.

A338326 The number of biquadratefree powerful numbers (A338325) between the consecutive squares n^2 and (n+1)^2.

Original entry on oeis.org

0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 2, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 2, 0, 1, 0, 0, 3, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 2, 0, 0, 1, 0, 2, 1, 0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 1
Offset: 1

Views

Author

Amiram Eldar, Oct 22 2020

Keywords

Comments

Dehkordi (1998) proved that for each k>=0 the sequence of numbers m such that a(m) = k has a positive asymptotic density.

Examples

			a(2) = 1 since there is one biquadratefree powerful number, 8 = 2^3, between 2^2 = 4 and 3^2 = 9.
		

Crossrefs

Programs

  • Mathematica
    bqfpowQ[n_] := AllTrue[FactorInteger[n][[;; , 2]], MemberQ[{2, 3 }, #] &]; a[n_] := Count[Range[n^2 + 1, (n + 1)^2 - 1], _?bqfpowQ]; Array[a, 100]