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.

A340147 a(n) = A247074(A003961(n)).

Original entry on oeis.org

1, 1, 1, 3, 1, 2, 1, 9, 5, 3, 1, 3, 1, 5, 6, 27, 1, 10, 1, 9, 10, 6, 1, 18, 7, 8, 25, 15, 1, 3, 1, 81, 3, 9, 15, 15, 1, 11, 4, 27, 1, 5, 1, 9, 10, 14, 1, 27, 11, 21, 18, 6, 1, 50, 2, 45, 22, 15, 1, 18, 1, 18, 50, 243, 24, 12, 1, 27, 7, 3, 1, 90, 1, 20, 21, 33, 30, 16, 1, 81, 125, 21, 1, 30, 3, 23, 30, 54, 1, 15, 40, 21
Offset: 1

Views

Author

Antti Karttunen, Dec 30 2020

Keywords

Comments

Prime shifted analog of A247074.
Each term a(n) is a divisor of A340072(n).

Crossrefs

Programs

  • PARI
    A003961(n) = { my(f = factor(n)); for(i=1, #f~, f[i, 1] = nextprime(f[i, 1]+1)); factorback(f); };
    A247074(n) = { my(f=factor(n)); eulerphi(f)/prod(i=1, #f~, gcd(f[i, 1]-1, n-1)); }; \\ From A247074
    A340147(n) = A247074(A003961(n));

Formula

a(n) = A247074(A003961(n)).
a(n) = A003972(n) / A340148(n).