login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A320726
Composite numbers such that all other numbers obtained from all permutations of all subsets of the digits are noncomposite.
1
4, 6, 8, 9, 10, 20, 22, 30, 32, 33, 35, 50, 55, 70, 77, 111
OFFSET
1,1
COMMENTS
Sequence is finite since it is a subsequence of a finite sequence (A071070).
This is complete: there are only 16 terms in the sequence.
EXAMPLE
371 is in this sequence because it's composite and none of the numbers 1, 3, 7, 13, 17, 31, 37, 137, 173, 317, 713 and 731 is composite.
MATHEMATICA
Select[Range[4, 10^3], Function[n, And[CompositeQ@ n, NoneTrue[DeleteCases[Flatten@ Map[If[Length@ # > 1, FromDigits /@ Permutations@ #, #] &, Rest@ Subsets@ IntegerDigits@ n], _?(# == n &)], CompositeQ]]]] (* Michael De Vlieger, Nov 13 2018 *)
CROSSREFS
Subsequence of A071070. Cf. A320725 (the same for prime numbers).
Sequence in context: A004716 A212372 A372308 * A205530 A100373 A211302
KEYWORD
nonn,base,fini,full
AUTHOR
Daniel Lignon, Oct 19 2018
STATUS
approved