OFFSET
0,5
COMMENTS
In his paper Matthias Schmitt defines PM(n), "the prime modular numbers of level n", that are tuples of length n, where the i-th term of the tuple is an integer in range 0 .. prime(i)-1. Then he defines a homomorphism f from a finite integral domain of size A002110(n) to PM(n) [which is of the same size] and proves that the homomorphism is injective and thus also an isomorphism. In this sequence we store the tuples of the prime modular numbers in the digits of the primorial base expansion (A049345) of a(n), thus each row n of length A002110(n) lists a permutation of integers in range 0 .. A002110(n)-1.
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..32588; rows 0-6 of the triangle
Matthias Schmitt, A function to calculate all relative prime numbers up to the product of the first n primes, arXiv:1404.0706 [math.NT] (see pages 3-4).
EXAMPLE
Irregular triangle begins as:
n\k| 0 1 2 3 4 5 6 7 8 9 ...
---+--------------------------------------------------
0 | 0
1 | 0, 1;
2 | 0, 3, 4, 1, 2, 5;
3 | 0, 9, 16, 19, 26, 5, 6, 15, 22, 25, 2, 11, 12, 21, 28, 1, 8, 17, 18, 27, 4, 7, 14, 23, 24, 3, 10, 13, 20, 29;
4 | 0, 39, 76, 109, 146, 155, 186, 15, 52, 85, 92, 131, 162, 201, 28, 31, 68, 107, 138, 177, 184, 7, 44, 83, 114, 123, ...
PROG
(PARI)
rows_up_to = 6;
A002110(n) = prod(i=1, n, prime(i));
A143293(n) = { if(n==0, return(1)); my(P=1, s=1); forprime(p=2, prime(n), s+=P*=p); s; };
A391930_list(rows_up_to) = { my(v = vector(A143293(rows_up_to)-1), j=0); for(row=1, rows_up_to, for(k=0, A002110(row)-1, j++; v[j] = A391930_tr(row, k))); (v); };
v391930 = A391930_list(rows_up_to);
A391930(n) = if(!n, n, v391930[n]);
CROSSREFS
KEYWORD
AUTHOR
Antti Karttunen, Dec 29 2025
STATUS
approved
