OFFSET
1,1
COMMENTS
These are the primes in A214584. Primes whose numerals are all written (san serif) with at least one right or acute angle.
LINKS
MATHEMATICA
Select[Flatten[Table[FromDigits/@Tuples[{4, 5, 7}, n], {n, 6}]], PrimeQ] (* Bruno Berselli, Sep 25 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(450000) | Intseq(p) subset [4, 5, 7]]; // Bruno Berselli, Sep 25 2012
(PARI) A217039(n=50, show=0, L=[4, 5, 7])={for(d=1, 1e9, my(t, u=vector(d, i, 10^(d-i))~); forvec(v=vector(d, i, [if(i==d&&d>1, 3/*must end in 7*/, 1), #L]), ispseudoprime(t=vecextract(L, v)*u)||next; show&&print1(t", "); n--||return(t)))} \\ Syntax updated for newer PARI versions by M. F. Hasler, Jul 25 2015
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Jonathan Vos Post, Sep 24 2012
STATUS
approved
