login
A249678
Index of n in A125718, or 0 if n does not occur; A125718(k) = least number congruent to prime(k) (mod k) and not occurring earlier.
2
1, 3, 2, 75, 9, 5, 4, 17, 10, 7, 8, 91, 6, 23, 13, 83, 15, 16049, 43, 11, 16, 25, 26, 95, 12, 449, 452, 99, 14, 451, 20, 453, 1072, 31, 22, 16043, 34, 33, 56, 459, 24, 101, 18, 35, 62, 37, 102, 19, 27, 39, 28, 21, 30, 109, 42, 41, 118, 117, 120, 487, 44, 45, 67
OFFSET
1,2
COMMENTS
If A125718 is a permutation of the positive integers, then this is the inverse permutation.
PROG
(PARI) A249678(n)=for(i=1, 9e9, A125718(i)==n&&return(i))
CROSSREFS
Sequence in context: A298021 A016461 A069576 * A300854 A358596 A323745
KEYWORD
nonn
AUTHOR
M. F. Hasler, Nov 03 2014
STATUS
approved