OFFSET
1,1
COMMENTS
Leading zeros are not allowed.
Obviously, all numbers which are twice a prime, A100484, are in the sequence.
EXAMPLE
14 is a member of this sequence since it is equal to 7 + 7;
44 is a member of this sequence since it is equal to 13 + 31;
128 is not a member even though 109 + 19 = 128; etc.
MATHEMATICA
fQ[n_] := Block[{c = 0, m = 1, pn = 1 + PrimePi[ n]}, While[m < pn, p = Prime[ m]; If[ MemberQ[ p + Select[ FromDigits /@ Permutations[ IntegerDigits[ p]], # > 10^(IntegerLength[ p] - 1) &], n], Break[]]; m++]; m < pn]; Select[ Range@ 345, fQ]
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Mar 28 2026
STATUS
approved
