OFFSET
1,1
COMMENTS
Conjecture: a(n) ~ 3n/2. - Charles R Greathouse IV, Sep 19 2012
REFERENCES
M. Le, On Smarandache Pseudo-Primes of Second Kind, Smarandache Notions Journal, Vol. 10, No. 1-2-3, 1999, 180.
LINKS
Eric M. Schmidt, Table of n, a(n) for n = 1..10000
F. Smarandache, Only Problems, Not Solutions!.
MATHEMATICA
t ={}; Do[list1 = Permutations[IntegerDigits[n]]; If[Length[Select[Table[FromDigits[n], {n, list1}], PrimeQ]] > 0, AppendTo[t, n]], {n, 133}]; t (* Jayanta Basu, Apr 24 2013 *)
Select[Range@ 133, AnyTrue[FromDigits /@ Permutations@ IntegerDigits@ #, PrimeQ] &] (* Michael De Vlieger, Jul 14 2015, Version 10 *)
PROG
(PARI) is(n)=if(n%3==0, return(n/10^valuation(n, 10)==3)); my(d=digits(n), t=#d); for(i=0, t!-1, if(isprime(fromdigits(vecextract(d, numtoperm(t, i)))), return(1))); 0 \\ Charles R Greathouse IV, Jul 14 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
R. Muller
STATUS
approved