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.

A076292 Perfect powers with squarefree root.

Original entry on oeis.org

1, 4, 8, 9, 16, 25, 27, 32, 36, 49, 64, 81, 100, 121, 125, 128, 169, 196, 216, 225, 243, 256, 289, 343, 361, 441, 484, 512, 529, 625, 676, 729, 841, 900, 961, 1000, 1024, 1089, 1156, 1225, 1296, 1331, 1369, 1444, 1521, 1681, 1764, 1849, 2048, 2116, 2187
Offset: 1

Views

Author

Reinhard Zumkeller, Nov 06 2002

Keywords

Examples

			A001597(17) = 144 = (3*2^2)^2 is not a term.
		

Crossrefs

Programs

  • Mathematica
    q[n_] := n == 1 || Length[(u = Union[FactorInteger[n][[;;,2]]])] == 1 && u[[1]] > 1; Select[Range[2000], q] (* Amiram Eldar, Jan 01 2022 *)
  • PARI
    is(n)=n==1 || (ispower(n,,&n) && issquarefree(n)) \\ Charles R Greathouse IV, Oct 16 2015

Formula

A025478(a(n)) = A007947(a(n)).