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.

A304327 Number of ways to write n as a product of a perfect power and a squarefree number.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1
Offset: 1

Views

Author

Gus Wiseman, May 10 2018

Keywords

Comments

First term greater than 2 is a(746496) = 3.

Examples

			The a(746496) = 3 ways are 12^5*3, 72^3*2, 864^2*1.
		

Crossrefs

Programs

  • Mathematica
    Table[Length[Select[Divisors[n],(#===1||GCD@@FactorInteger[#][[All,2]]>1)&&SquareFreeQ[n/#]&]],{n,100}]
  • PARI
    A304327(n) = sumdiv(n,d,issquarefree(n/d)*((1==d)||ispower(d))); \\ Antti Karttunen, Jul 29 2018

Extensions

More terms from Antti Karttunen, Jul 29 2018