login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A360407 Irregular table T(n, k), n >= 0, k = 0..A002110(n)-1, read by rows; for any k with primorial base expansion (d_n, ..., d_1), T(n, k) is the least number t such that t mod prime(u) = d_u for u = 1..n (where prime(u) denotes the u-th prime number). 1
0, 0, 1, 0, 3, 4, 1, 2, 5, 0, 15, 10, 25, 20, 5, 6, 21, 16, 1, 26, 11, 12, 27, 22, 7, 2, 17, 18, 3, 28, 13, 8, 23, 24, 9, 4, 19, 14, 29, 0, 105, 70, 175, 140, 35, 126, 21, 196, 91, 56, 161, 42, 147, 112, 7, 182, 77, 168, 63, 28, 133, 98, 203, 84, 189, 154, 49 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
When computing T(n, k), we pad the primorial base expansion of k with leading zeros so as to have n digits.
The Chinese remainder theorem ensures that this sequence is well defined and provides a way to compute it.
The n-th row is a permutation of 0..A002110(n)-1.
LINKS
FORMULA
T(n, 0) = 0.
T(n, 1) = A070826(n) for any n > 0.
T(n, A002110(n) - 1) = A057588(n) for any n > 0.
T(n, k) + T(n, A002110(n) - 1 - k) = A002110(n) - 1.
EXAMPLE
Table T(n, k) begins:
0;
0, 1;
0, 3, 4, 1, 2, 5;
0, 15, 10, 25, 20, 5, 6, 21, 16, 1, 26, 11, 12, 27, 22,
7, 2, 17, 18, 3, 28, 13, 8, 23, 24, 9, 4, 19, 14, 29;
...
PROG
(PARI) T(n, k) = { my (t=Mod(0, 1)); if (n, forprime (p=2, prime(n), t=chinese(t, Mod(k, p)); k\=p)); lift(t) }
CROSSREFS
See A343404 for a similar sequence.
Sequence in context: A106650 A076942 A205127 * A343613 A333454 A021971
KEYWORD
nonn,base,tabf
AUTHOR
Rémy Sigrist, Feb 06 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 23 22:08 EDT 2024. Contains 375396 sequences. (Running on oeis4.)