OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..145
EXAMPLE
Number 203 is a term because 2+3=5, 2+0=2, 3+0=3 (primes).
MATHEMATICA
fQ[n_] := Module[{d = IntegerDigits[n]}, Union[PrimeQ[Plus @@@ Union[Subsets[d, {2}]]]] == {True}]; Select[Range[6000], fQ] (* T. D. Noe, Jan 24 2013 *)
Select[Range[10, 1200], AllTrue[Total/@Subsets[IntegerDigits[#], {2}], PrimeQ]&] (* Harvey P. Dale, Jan 31 2024 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Jan 22 2013
STATUS
approved