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.

A119794 a(n) is the product of the positive integers each of which is <= n and is divisible by exactly one prime dividing n (but is coprime to every other prime dividing n). (a(1) = 1).

Original entry on oeis.org

1, 2, 3, 8, 5, 24, 7, 384, 162, 1920, 11, 17280, 13, 322560, 97200, 10321920, 17, 58060800, 19, 1393459200, 51438240, 40874803200, 23, 536481792000, 375000, 25505877196800, 7142567040, 535623421132800, 29, 439378587648000, 31
Offset: 1

Views

Author

Leroy Quet, Jul 30 2006

Keywords

Examples

			12 is divisible by 2 and 3. The positive integers which are <= 12 and which are divisible by 2 or 3, but not by both 2 and 3, are: 2, 3, 4, 8, 9, 10. a(12) = the product of these integers, which is 17280.
		

Crossrefs

Programs

  • Mathematica
    Table[Times @@ Select[Range@ n, Function[k, Total@ Boole@ Map[Divisible[k, #] &, FactorInteger[n][[All, 1]]] == 1]], {n, 31}] (* Michael De Vlieger, Oct 01 2017 *)

Extensions

Corrected and extended by Joshua Zucker, Aug 12 2006