login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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.
LINKS
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: A202265 A004716 A212372 * A205530 A100373 A211302
KEYWORD
nonn,base,fini,full
AUTHOR
Daniel Lignon, Oct 19 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)