OFFSET
1,1
COMMENTS
a(4) = 31 because the number 4 first appears in the sequence A357477 at index 31.
PROG
(PARI) f(n) = my(k=1); while (!isprime(round(sqrt(k*n))), k++); k; \\ A357477
a(n) = my(k=1); while (f(k) != n, k++); k; \\ Michel Marcus, Oct 18 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Jake M. Gotlieb, Oct 08 2022
EXTENSIONS
More terms from Michel Marcus, Oct 18 2022
STATUS
approved