Let u be any string of n digits from {0,1,2}; let f(u) = number of distinct primes, not beginning with 0, formed by permuting the digits of u to a base-3 number; then a(n) = max_u f(u).

A065844

Let u be any string of n digits from {0,1,2}; let f(u) = number of distinct primes, not beginning with 0, formed by permuting the digits of u to a base-3 number; then a(n) = max_u f(u).

Terms

    a(0) =1a(1) =2a(2) =2a(3) =4a(4) =7a(5) =19a(6) =42a(7) =102a(8) =252a(9) =532a(10) =1226a(11) =3681a(12) =9100a(13) =24858a(14) =61943a(15) =161857a(16) =392935a(17) =1167208a(18) =3125539a(19) =8879693a(20) =23143081a(21) =63028550a(22) =161146767a(23) =480399716a(24) =1325189141a(25) =3815350317a(26) =10255072974

External references