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
KEYWORD
nonn,base,fini,full
AUTHOR
Michel Marcus, Mar 18 2025
STATUS
approved
