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.

Previous Showing 31-32 of 32 results.

A327390 Number of connected divisors of n.

Original entry on oeis.org

1, 2, 2, 2, 2, 3, 2, 2, 3, 3, 2, 3, 2, 3, 3, 2, 2, 4, 2, 3, 4, 3, 2, 3, 3, 3, 4, 3, 2, 4, 2, 2, 3, 3, 3, 4, 2, 3, 4, 3, 2, 5, 2, 3, 4, 3, 2, 3, 3, 4, 3, 3, 2, 5, 3, 3, 4, 3, 2, 4, 2, 3, 6, 2, 4, 4, 2, 3, 3, 4, 2, 4, 2, 3, 4, 3, 3, 5, 2, 3, 5, 3, 2, 5, 3, 3, 4
Offset: 1

Views

Author

Gus Wiseman, Sep 15 2019

Keywords

Comments

A number n with prime factorization n = prime(m_1)^s_1 * ... * prime(m_k)^s_k is connected if the simple labeled graph with vertex set {m_1,...,m_k} and edges between any two vertices with a common divisor greater than 1 is connected. Connected numbers are listed in A305078. The maximum connected divisor of n is A327076(n).

Crossrefs

See link for additional cross-references.

Programs

  • Mathematica
    primeMS[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]];
    zsm[s_]:=With[{c=Select[Tuples[Range[Length[s]],2],And[Less@@#,GCD@@s[[#]]]>1&]},If[c=={},s,zsm[Sort[Append[Delete[s,List/@c[[1]]],LCM@@s[[c[[1]]]]]]]]];
    Table[Length[Select[Divisors[n],Length[zsm[primeMS[#]]]<=1&]],{n,100}]

A327391 Number of divisors of n that are 1, prime, or whose prime indices are pairwise coprime.

Original entry on oeis.org

1, 2, 2, 3, 2, 4, 2, 4, 2, 4, 2, 6, 2, 4, 4, 5, 2, 4, 2, 6, 3, 4, 2, 8, 2, 4, 2, 6, 2, 8, 2, 6, 4, 4, 4, 6, 2, 4, 3, 8, 2, 6, 2, 6, 4, 4, 2, 10, 2, 4, 4, 6, 2, 4, 4, 8, 3, 4, 2, 12, 2, 4, 3, 7, 3, 8, 2, 6, 4, 8, 2, 8, 2, 4, 4, 6, 4, 6, 2, 10, 2, 4, 2, 9, 4, 4
Offset: 1

Views

Author

Gus Wiseman, Sep 20 2019

Keywords

Comments

A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798. Numbers that are prime or whose prime indices are pairwise coprime are listed in A302569.

Examples

			The divisors of 84 that are 1, prime, or whose prime indices are pairwise coprime are {1, 2, 3, 4, 6, 7, 12, 14, 28}, so a(84) = 9.
		

Crossrefs

See link for additional cross-references.

Programs

  • Mathematica
    primeMS[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]];
    Table[Length[Select[Divisors[n],#==1||PrimeQ[#]||CoprimeQ@@primeMS[#]&]],{n,100}]
Previous Showing 31-32 of 32 results.