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 11-13 of 13 results.

A357979 Second MTF-transform of A000041. Replace prime(k) with prime(A357977(k)) in the prime factorization of n.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 31, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 59, 32, 33, 62, 35, 36, 37, 38, 39, 40, 127, 42, 79, 44, 45, 46, 47, 48, 49, 50, 93, 52, 53, 54, 55, 56, 57, 58, 211, 60, 61, 118, 63, 64, 65, 66
Offset: 1

Views

Author

Gus Wiseman, Oct 24 2022

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. We define the MTF-transform as applying a function horizontally along a number's prime indices; see the Mathematica program.

Examples

			We have:
- 51 = prime(2) * prime(7),
- A357977(2) = 2,
- A357977(7) = 11,
- a(51) = prime(2) * prime(11) = 93.
		

Crossrefs

Other multiplicative sequences: A003961, A357852, A064988, A064989, A357980.
Applying the transformation only once gives A357977, strict A357978.
For primes instead of partition numbers we have A357983.
A000040 lists the primes.
A056239 adds up prime indices, row-sums of A112798.

Programs

  • Mathematica
    primeMS[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]];
    mtf[f_][n_]:=Product[If[f[i]==0,1,Prime[f[i]]],{i,primeMS[n]}];
    Array[mtf[mtf[PartitionsP]],100]

A357853 Fully multiplicative with a(prime(k)) = A000009(k+1).

Original entry on oeis.org

1, 1, 2, 1, 2, 2, 3, 1, 4, 2, 4, 2, 5, 3, 4, 1, 6, 4, 8, 2, 6, 4, 10, 2, 4, 5, 8, 3, 12, 4, 15, 1, 8, 6, 6, 4, 18, 8, 10, 2, 22, 6, 27, 4, 8, 10, 32, 2, 9, 4, 12, 5, 38, 8, 8, 3, 16, 12, 46, 4, 54, 15, 12, 1, 10, 8, 64, 6, 20, 6, 76, 4, 89, 18, 8, 8, 12, 10
Offset: 1

Views

Author

Gus Wiseman, Oct 28 2022

Keywords

Examples

			We have 525 = prime(2)*prime(3)*prime(3)*prime(4) so a(525) = Q(3)*Q(4)*Q(4)*Q(5) = 2*2*2*3 = 24, where Q = A000009.
		

Crossrefs

Other multiplicative sequences: A003961, A064988, A064989, A357852, A357980.
The non-strict version is A003964.
The unshifted horizontal version is A357978, non-strict A357977.
The unshifted version is A357982.
A000040 lists the primes.
A056239 adds up prime indices, row-sums of A112798.

Programs

  • Mathematica
    primeMS[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]];
    ptf[f_][n_]:=Product[f[i],{i,primeMS[n]}];
    Array[ptf[PartitionsQ[#+1]&],100]

A357984 Replace prime(k) with A000720(k) in the prime factorization of n.

Original entry on oeis.org

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

Views

Author

Gus Wiseman, Oct 25 2022

Keywords

Examples

			We have 91 = prime(4) * prime(6), so a(91) = pi(4) * pi(6) = 6.
		

Crossrefs

Other multiplicative sequences: A003961, A357852, A064988, A064989, A357983.
The version for p instead of pi is A299200, horz A357977, strict A357982.
The version for nu is A355741.
The version for bigomega is A355742.
The horizontal version is A357980.
A000040 lists the prime numbers.
A000720 is PrimePi.
A056239 adds up prime indices, row-sums of A112798.

Programs

  • Mathematica
    primeMS[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]];
    Table[Times@@PrimePi/@primeMS[n],{n,100}]
Previous Showing 11-13 of 13 results.