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.

A072195 Replace all prime factors p of n with n/p.

Original entry on oeis.org

1, 1, 1, 4, 1, 6, 1, 64, 9, 10, 1, 144, 1, 14, 15, 4096, 1, 324, 1, 400, 21, 22, 1, 13824, 25, 26, 729, 784, 1, 900, 1, 1048576, 33, 34, 35, 46656, 1, 38, 39, 64000, 1, 1764, 1, 1936, 2025, 46, 1, 5308416, 49, 2500, 51, 2704, 1, 157464, 55, 175616, 57, 58, 1, 216000, 1
Offset: 1

Views

Author

Reinhard Zumkeller, Jul 02 2002

Keywords

Comments

For n>1: a(n)=1 iff n is prime.

Examples

			a(18) = a(2*3*3) = (18/2)*(18/3)*(18/3) = 9*6*6 = 324.
		

Programs

  • Mathematica
    pf[n_]:=Times@@(n/#&/@Flatten[Table[#[[1]],{#[[2]]}]&/@FactorInteger[ n]]); Array[pf,70] (* Harvey P. Dale, Dec 11 2013 *)

Formula

a(n) = n^(A001222(n)-1).