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.

Showing 1-3 of 3 results.

A087320 Smallest perfect power (at least a square) that is a multiple of n.

Original entry on oeis.org

1, 4, 9, 4, 25, 36, 49, 8, 9, 100, 121, 36, 169, 196, 225, 16, 289, 36, 361, 100, 441, 484, 529, 144, 25, 676, 27, 196, 841, 900, 961, 32, 1089, 1156, 1225, 36, 1369, 1444, 1521, 400, 1681, 1764, 1849, 484, 225, 2116, 2209, 144, 49, 100, 2601, 676, 2809, 216, 3025
Offset: 1

Views

Author

Amarnath Murthy, Sep 03 2003

Keywords

Comments

The prime signature of a(n) is not determined by the prime signature of n. For example, a(2^3*3^5) = 2^3*3^6, but a(2^3*5^5) = 2^5*5^5. - David Wasserman, May 03 2005
Likewise, this sequence is not multiplicative. The smallest exception is a(24) = 144 > 72 = a(3)*a(8). - Franklin T. Adams-Watters, Oct 18 2011

Examples

			a(54) = 216 = 6^3. 54 is the least n such that a(n)/n does not divide A007947(n).
		

Crossrefs

Programs

  • Mathematica
    a[n_] := n * SelectFirst[Range[n], GCD @@ FactorInteger[n*#][[;; , 2]] > 1 &]; a[1] = 1; Array[a, 100] (* Amiram Eldar, Jul 09 2022 *)

Formula

a(n)/n <= A007947(n) (the squarefree kernel of n).
a(p^k) = p^k, a(k) = A007947(k)^2 for cubefree k. Furthermore, the upper bound on a(n)/n can be tightened to A007913(n). - Charlie Neder, Dec 26 2018
From Amiram Eldar, Jul 09 2022: (Start)
a(n) = n iff n is in A001597.
a(n) = n * A160400(n). (End)

Extensions

Edited and extended by David Wasserman, May 03 2005

A304328 a(n) = n/(largest perfect power divisor of n).

Original entry on oeis.org

1, 2, 3, 1, 5, 6, 7, 1, 1, 10, 11, 3, 13, 14, 15, 1, 17, 2, 19, 5, 21, 22, 23, 3, 1, 26, 1, 7, 29, 30, 31, 1, 33, 34, 35, 1, 37, 38, 39, 5, 41, 42, 43, 11, 5, 46, 47, 3, 1, 2, 51, 13, 53, 2, 55, 7, 57, 58, 59, 15, 61, 62, 7, 1, 65, 66, 67, 17, 69, 70, 71, 2
Offset: 1

Views

Author

Gus Wiseman, May 10 2018

Keywords

Comments

Not all terms are squarefree numbers; for example, a(500) = 4.

Crossrefs

Programs

  • Mathematica
    Table[n/Last[Select[Divisors[n],#===1||GCD@@FactorInteger[#][[All,2]]>1&]],{n,100}]
  • PARI
    a(n)={my(m=1); fordiv(n, d, if(ispower(d), m=max(m,d))); n/m} \\ Andrew Howroyd, Aug 26 2018

Formula

a(n) * A203025(n) = n.

A304339 Fixed point of f starting with n, where f(x) = x/(largest perfect power divisor of x).

Original entry on oeis.org

1, 2, 3, 1, 5, 6, 7, 1, 1, 10, 11, 3, 13, 14, 15, 1, 17, 2, 19, 5, 21, 22, 23, 3, 1, 26, 1, 7, 29, 30, 31, 1, 33, 34, 35, 1, 37, 38, 39, 5, 41, 42, 43, 11, 5, 46, 47, 3, 1, 2, 51, 13, 53, 2, 55, 7, 57, 58, 59, 15, 61, 62, 7, 1, 65, 66, 67, 17, 69, 70, 71, 2
Offset: 1

Views

Author

Gus Wiseman, May 11 2018

Keywords

Comments

All terms are squarefree numbers. First differs from A304328 at a(500) = 1, A304328(500) = 4.

Examples

			f maps 500 -> 4 -> 1 -> 1, so a(500) = 1.
		

Crossrefs

Programs

  • Mathematica
    radQ[n_]:=And[n>1,GCD@@FactorInteger[n][[All,2]]===1];
    op[n_]:=n/Last[Select[Divisors[n],!radQ[#]&]];
    Table[FixedPoint[op,n],{n,200}]
  • PARI
    a(n)={while(1, my(m=1); fordiv(n, d, if(ispower(d), m=max(m,d))); if(m==1, return(n)); n/=m)} \\ Andrew Howroyd, Aug 26 2018
Showing 1-3 of 3 results.