A357988 a(n) is the unique k such that A357579(k) = prime(n) (the n-th prime number), or -1 if no such k exists.
1, 2, 4, 3, 8, 12, 9, 16, 15, 21, 26, 24, 30, 34, 43, 40, 45, 47, 53, 67, 59, 64, 70, 74, 84, 94, 89, 96, 93, 107, 110, 112, 120, 128, 124, 134, 137, 148, 156, 150, 163, 161, 170, 174, 180, 186, 189, 208, 201, 209, 213, 207, 222, 219, 240, 244, 245, 247, 250
Offset: 1
Keywords
Examples
A357579(53) = 67 = prime(19), so a(19) = 53.
Links
- Rémy Sigrist, Table of n, a(n) for n = 1..5000
- Rémy Sigrist, C program
- Rémy Sigrist, PARI program
Programs
-
C
See Links section.
-
PARI
See Links section.
Formula
a(n) = A357986(prime(n)).