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!)
A099654 a(n) is the number of n-subsets [n=1,2,...,10] of the 10 decimal digits from which no prime numbers can be constructed. See also A099653. 5
5, 21, 24, 16, 6, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Number of "antiprime-digit-subclasses".
Subsets were selected from {0, 2, 4, 5, 6, 8} and {0, 3, 6, 9} digit collections.
LINKS
FORMULA
a(n) = binomial(6,n) + binomial(4,n) for n > 1.
EXAMPLE
n=1: {0,2,4,6,8} represent the relevant 1-subsets so a[1]=5.
Total number of prime irrelevant subset-classes from the 1023 nonempty k-digit-subsets equals 5 + 21 + 24 + 16 + 6 + 1 = 73 = 1023 - 950. See also A099653.
The "antiprime n-digit-collections" are taken from {0,2,4,5,6,8} or {0,3,6,9}, of which only composites can be constructed.
MATHEMATICA
Table[Binomial[6, n] + Binomial[4, n] - 5 Boole[n == 1], {n, 100}] (* Michael De Vlieger, Mar 26 2017 *)
PROG
(PARI) a(n) = binomial(6, n) + binomial(4, n) - 5*(n==1); \\ Indranil Ghosh, Mar 27 2017
(Python)
from sympy import binomial
def a(n): return binomial(6, n) + binomial(4, n) - 5*(n==1) # Indranil Ghosh, Mar 27 2017
CROSSREFS
Sequence in context: A004163 A350328 A113410 * A195959 A228141 A268527
KEYWORD
base,nonn
AUTHOR
Labos Elemer, Nov 15 2004
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 24 08:43 EDT 2024. Contains 371927 sequences. (Running on oeis4.)