OFFSET
0,2
COMMENTS
These are prime-factorization representations of single-variable polynomials where the coefficient of term x^(k-1) (encoded as the exponent of prime(k) in the factorization of n) is equal to the digit in one-based position k of the factorial base representation of n. See the examples.
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..5040
Indranil Ghosh, Python program for computing this sequence.
FORMULA
Other identities.
For all n >= 0:
A276075(a(n)) = n.
For all n >= 1:
From Antti Karttunen, Apr 18 2022: (Start)
(End)
lambda(a(n)) = A262725(n+1), where lambda is Liouville's function, A008836. - Antti Karttunen and Peter Munn, Aug 09 2024
EXAMPLE
n A007623 polynomial encoded as a(n)
-------------------------------------------------------
0 0 0-polynomial (empty product) = 1
1 1 1*x^0 prime(1)^1 = 2
2 10 1*x^1 prime(2)^1 = 3
3 11 1*x^1 + 1*x^0 prime(2) * prime(1) = 6
4 20 2*x^1 prime(2)^2 = 9
5 21 2*x^1 + 1*x^0 prime(2)^2 * prime(1) = 18
6 100 1*x^2 prime(3)^1 = 5
7 101 1*x^2 + 1*x^0 prime(3) * prime(1) = 10
and:
23 321 3*x^2 + 2*x + 1 prime(3)^3 * prime(2)^2 * prime(1)
= 5^3 * 3^2 * 2 = 2250.
MATHEMATICA
a[n_] := Module[{k = n, m = 2, r, p = 2, q = 1}, While[{k, r} = QuotientRemainder[k, m]; k != 0|| r != 0, q *= p^r; p = NextPrime[p]; m++]; q]; Array[a, 100, 0] (* Amiram Eldar, Feb 07 2024 *)
PROG
CROSSREFS
Cf. A276075 (a left inverse).
Cf. A276078 (same terms in ascending order).
Cf. also A000142, A001221, A001222, A002110, A007489, A008836, A019565, A033312, A034968, A048675, A051903, A059590, A060130, A076954, A246359, A248663, A262725, A276073, A276074, A351576, A351577, A351950, A351951, A351952, A351954.
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Aug 18 2016
EXTENSIONS
Name changed by Antti Karttunen, Apr 18 2022
STATUS
approved