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.

A318871 Minimum Heinz number of a factorization of n into factors > 1.

Original entry on oeis.org

1, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 35, 41, 43, 47, 49, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271
Offset: 1

Views

Author

Gus Wiseman, Sep 05 2018

Keywords

Comments

The Heinz number of an integer partition (y_1, ..., y_k) is prime(y_1) * ... * prime(y_k).

Examples

			a(1) = 1 = the empty product.
a(12) = 35 = 5 * 7 = prime(3) * prime(4).
a(16) = 49 = 7^2 = prime(4)^2.
a(23) = 83 = prime(23).
		

Crossrefs

Programs

  • Maple
    a:= proc(n) option remember; `if`(n=1, 1, min(seq(a(d)*
          ithprime(n/d), d=numtheory[divisors](n) minus {n})))
        end:
    seq(a(n), n=1..60);  # Alois P. Heinz, Sep 05 2018
  • Mathematica
    facs[n_]:=If[n<=1,{{}},Join@@Table[(Prepend[#1,d]&)/@Select[facs[n/d],Min@@#1>=d&],{d,Rest[Divisors[n]]}]];
    Table[Min[Times@@Prime/@#&/@facs[n]],{n,100}]