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-5 of 5 results.

A212172 Row n of table represents second signature of n: list of exponents >= 2 in canonical prime factorization of n, in nonincreasing order, or 0 if no such exponent exists.

Original entry on oeis.org

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

Views

Author

Matthew Vandermast, Jun 03 2012

Keywords

Comments

Length of row n equals A056170(n) if A056170(n) is positive, or 1 if A056170(n) = 0.
The multiset of exponents >=2 in the prime factorization of n completely determines a(n) for over 20 sequences in the database (see crossreferences). It also determines the fractions A034444(n)/A000005(n) and A037445(n)/A000005(n).
For squarefree numbers, this multiset is { } (the empty multiset). The use of 0 in the table to represent each n with no exponents >=2 in its prime factorization accords with the usual OEIS practice of using 0 to represent nonexistent elements when possible. In comments, the second signature of squarefree numbers will be represented as { }.
For each second signature {S}, there exist values of j and k such that, if the second signature of n is {S}, then A085082(n) is congruent to j modulo k. These values are nontrivial unless {S} = { }. Analogous (but not necessarily identical) values of j and k also exist for each second signature with respect to A088873 and A181796.
Each sequence of integers with a given second signature {S} has a positive density, unlike the analogous sequences for prime signatures. The highest of these densities is 6/Pi^2 = 0.607927... for A005117 ({S} = { }).

Examples

			First rows of table read: 0; 0; 0; 2; 0; 0; 0; 3; 2; 0; 0; 2;...
12 = 2^2*3 has positive exponents 2 and 1 in its canonical prime factorization (1s are often left implicit as exponents). Since only exponents that are 2 or greater appear in a number's second signature, 12's second signature is {2}.
30 = 2*3*5 has no exponents greater than 1 in its prime factorization. The multiset of its exponents >= 2 is { } (the empty multiset), represented in the table with a 0.
72 = 2^3*3^2 has positive exponents 3 and 2 in its prime factorization, as does 108 = 2^2*3^3. Rows 72 and 108 both read {3,2}.
		

Crossrefs

A181800 gives first integer of each second signature. Also see A212171, A212173-A212181, A212642-A212644.
Functions determined by exponents >=2 in the prime factorization of n:
Additive: A046660, A056170.
Other: A007424, A051903 (for n > 1), A056626, A066301, A071325, A072411, A091050, A107078, A185102 (for n > 1), A212180.
Sequences that contain all integers of a specific second signature: A005117 (second signature { }), A060687 ({2}), A048109 ({3}).

Programs

  • Magma
    &cat[IsEmpty(e)select [0]else Reverse(Sort(e))where e is[pe[2]:pe in Factorisation(n)|pe[2]gt 1]:n in[1..102]]; // Jason Kimberley, Jun 13 2012
  • Mathematica
    row[n_] := Select[ FactorInteger[n][[All, 2]], # >= 2 &] /. {} -> 0 /. {k__} -> Sequence[k]; Table[row[n], {n, 1, 100}] (* Jean-François Alcover, Apr 16 2013 *)

Formula

For nonsquarefree n, row n is identical to row A057521(n) of table A212171.

A212180 Number of distinct second signatures (cf. A212172) represented among divisors of n.

Original entry on oeis.org

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

Views

Author

Matthew Vandermast, Jun 04 2012

Keywords

Comments

Completely determined by the exponents >=2 in the prime factorization of n (cf. A212172, A212173).
The fraction of the divisors of n which have a given second signature {S} is also a function of n's second signature. For example, if n has second signature {3,2}, it follows that 1/3 of n's divisors are squarefree. Squarefree numbers are represented with 0's in A212172, in accord with the usual OEIS custom of using 0 for nonexistent elements; in comments, their second signature is represented as { }.

Examples

			The divisors of 72 represent a total of 5 distinct second signatures (cf. A212172), as can be seen from the exponents >= 2, if any, in the canonical prime factorization of each divisor:
{ }: 1, 2 (prime), 3 (prime), 6 (2*3)
{2}: 4 (2^2), 9 (3^2), 12 (2^2*3), 18 (2*3^2)
{3}: 8 (2^3), 24 (2^3*3)
{2,2}: 36 (2^2*3^2)
{3,2}: 72 (2^3*3^2)
Hence, a(72) = 5.
		

Crossrefs

Programs

  • Mathematica
    Array[Length@ Union@ Map[Sort@ Select[FactorInteger[#][[All, -1]], # >= 2 &] &, Divisors@ #] &, 88] (* Michael De Vlieger, Jul 19 2017 *)
  • PARI
    A046523(n) = { my(f=vecsort(factor(n)[, 2], , 4), p); prod(i=1, #f, (p=nextprime(p+1))^f[i]); }; \\ This function from Charles R Greathouse IV, Aug 17 2011
    A057521(n) = { my(f=factor(n)); prod(i=1, #f~, if(f[i, 2]>1, f[i, 1]^f[i, 2], 1)); } \\ This function from Charles R Greathouse IV, Aug 13 2013
    A212173(n) = A046523(A057521(n));
    A212180(n) = { my(vals = Set()); fordiv(n, d, vals = Set(concat(vals, A212173(d)))); length(vals); }; \\ Antti Karttunen, Jul 19 2017
    
  • Python
    from sympy import factorint, divisors, prod
    def P(n): return sorted(factorint(n).values())
    def a046523(n):
        x=1
        while True:
            if P(n)==P(x): return x
            else: x+=1
    def a057521(n): return 1 if n==1 else prod(p**e for p, e in factorint(n).items() if e != 1)
    def a212173(n): return a046523(a057521(n))
    def a(n):
        l=[]
        for d in divisors(n):
            x=a212173(d)
            if not x in l:l+=[x, ]
        return len(l)
    print([a(n) for n in range(1, 51)]) # Indranil Ghosh, Jul 19 2017

A212644 If an integer's second signature (cf. A212172) is the n-th to appear among positive integers, a(n) = number of distinct second signatures represented among its divisors.

Original entry on oeis.org

1, 2, 3, 4, 5, 3, 6, 5, 7, 7, 6, 8, 9, 9, 9, 11, 12, 4, 10, 13, 10, 15, 7, 11, 15, 14, 18, 10, 12, 17, 18, 9, 21, 13, 15, 13, 19, 22, 14, 24, 16, 20, 14, 21, 26, 19, 10, 27, 19, 25, 16, 15, 23, 30, 24, 5, 21, 16, 30, 22, 30, 23, 16, 25, 34, 29, 9, 27, 22, 33
Offset: 1

Views

Author

Matthew Vandermast, Jun 07 2012

Keywords

Comments

Also, number of divisors of A181800(n) that are members of A181800.
Consider a member of A181800 with second signature {S} whose divisors represent a total of k distinct second signatures and a total of (j+k) distinct prime signatures (cf. A212642). Let m be any integer with second signature {S}. Then A212180(m) = k and A085082(m) is congruent to j modulo k. If {S} is the second signature of A181800(n), then A085082(m) is congruent to A212643(n) modulo a(n).

Examples

			The divisors of 72 represent 5 distinct second signatures (cf. A212172), as can be seen from the exponents >=2, if any, in the canonical prime factorization of each divisor:
{ }: 1, 2 (prime), 3 (prime), 6 (2*3)
{2}: 4 (2^2), 9 (3^2), 12 (2^2*3), 18 (2*3^2)
{3}: 8 (2^3), 24 (2^3*3)
{2,2}: 36 (2^2*3^2)
{3,2}: 72 (2^3*3^2)
Since 72 = A181800(8), a(8) = 5.
		

Crossrefs

Formula

a(n) = A212180(A181800(n)).

Extensions

Data corrected by Amiram Eldar, Jul 14 2019

A212643 Let b(n) and c(n) be the total numbers of distinct prime signatures and second signatures, respectively, represented among divisors of A181800(n) (first integers of each second signature; cf. A212172). b(n) mod c(n) = a(n).

Original entry on oeis.org

0, 1, 1, 1, 1, 0, 1, 4, 1, 5, 4, 1, 6, 5, 1, 7, 6, 2, 1, 8, 5, 7, 2, 1, 9, 6, 8, 2, 1, 10, 7, 1, 9, 2, 6, 1, 11, 8, 0, 10, 2, 7, 1, 12, 9, 18, 0, 11, 2, 8, 15, 1, 13, 10, 22, 0, 7, 14, 12, 2, 9, 20, 1, 14, 11, 26, 7, 8, 18, 13, 2, 10, 25, 1, 15, 15, 12, 30, 9
Offset: 1

Views

Author

Matthew Vandermast, Jun 05 2012

Keywords

Comments

Significance of the sequence: Consider a member of A181800 with second signature {S} whose divisors represent a total of k distinct second signatures and a total of (j+k) distinct prime signatures. For all integers n with second signature {S}, A212180(n) = k and A085082(n) is congruent to j modulo k; see examples.
Note: b(n) = A212642(n); c(n) = A212644(n).

Examples

			4 is the smallest integer with second signature {2}, and its divisors represent 3 distinct prime signatures and 2 distinct second signatures. 1 = 3 mod 2. Since 4 = A181800(2), a(2) = 1. For all integers m with second signature {2}, A085082(m) is congruent to 1 modulo 2.
10800 is the smallest integer with second signature {4,3,2}, and its divisors represent 28 distinct prime signatures and 14 distinct second signatures. 0 = 28 mod 14.  Since 10800 = A181800(39), a(39) = 0. For all integers m with second signature {4,3,2}, A085082(m) is congruent to 0 modulo 14.
		

Crossrefs

Formula

a(n) = A212642(n)-A212644(n), reduced modulo A212644(n).

A212638 a(n) = n-th powerful number that is the first integer of its prime signature, divided by its largest squarefree divisor: A003557(A181800(n)).

Original entry on oeis.org

1, 2, 4, 8, 16, 6, 32, 12, 64, 24, 36, 128, 48, 72, 256, 96, 144, 30, 512, 192, 216, 288, 60, 1024, 384, 432, 576, 120, 2048, 768, 864, 180, 1152, 240, 1296, 4096, 1536, 1728, 360, 2304, 480, 2592, 8192, 3072, 3456, 720, 900, 4608, 960, 5184, 1080, 16384
Offset: 1

Views

Author

Matthew Vandermast, Jun 05 2012

Keywords

Comments

The number of second signatures represented by the divisors of A181800(n) equals the number of prime signatures represented among the divisors of a(n). Cf. A212172, A212644.
A permutation of A025487.

Examples

			6 (whose prime factorization is 2*3) is the largest squarefree divisor of 144 (whose prime factorization is 2^4*3^2). Since 144 = A181800(10), and 144/6 = 24, a(10) = 24.
		

Crossrefs

Formula

a(n) = A003557(A181800(n)).
Showing 1-5 of 5 results.