login
A382198
Smallest integer k with n distinct digits, such that for each digit of k, 2*k*(digit) + 1 is prime.
3
3, 14, 153, 2169, 48165, 125769, 327174495
OFFSET
1,1
COMMENTS
See 1st comment of A382127 for an explanation that there cannot be more than 7 terms.
PROG
(PARI) isok(k, n) = my(d=Set(digits(k))); if (#d != n, return(0)); for (i=1, #d, if (!isprime(2*k*d[i]+1), return(0)); ); return(1);
a(n) = my(k=2); while (!isok(k, n), k++); k;
CROSSREFS
Subsequence of A382179.
Sequence in context: A367422 A002966 A075654 * A330603 A261006 A185238
KEYWORD
nonn,base,fini,full
AUTHOR
Michel Marcus, Mar 18 2025
STATUS
approved