Results 1 to 3 of 3

Math Help - Filling an array

  1. #1
    MHF Contributor
    Joined
    Dec 2007
    From
    Ottawa, Canada
    Posts
    3,115
    Thanks
    68

    Filling an array

    There are N numbers available: from 1 to N.

    The rows of a 8 by C array are each filled with C numbers,
    each row ending up with C different numbers.

    A number may appear a maximum of 4 times,
    in other words, in a maximum of 4 rows.

    Every 2-row-combo has a minimum of 2 numbers in common.

    What is minimum N?

    Solution is minimum N = 12; this is the resulting array (C = 6):
    1: 01 02 05 06 07 08
    2: 01 02 05 06 07 08
    3: 01 02 09 10 11 12
    4: 01 02 09 10 11 12
    5: 03 04 05 06 09 10
    6: 03 04 05 06 09 10
    7: 03 04 07 08 11 12
    8: 03 04 07 08 11 12

    OK. Changing the conditions a bit (or making it tougher!):

    There are N numbers available: from 1 to N.

    The rows of a 20 by C array are each filled with C numbers,
    each row ending up with C different numbers.

    A number may appear a maximum of 10 times,
    in other words, in a maximum of 10 rows.

    Every 5-row-combo has a minimum of 2 numbers in common.

    What is minimum N?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Newbie
    Joined
    Aug 2013
    From
    canada
    Posts
    1

    Re: Filling an array

    Is produced if the specified value is not of a runtime type that can be saved in the specified array.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    MHF Contributor
    Joined
    Dec 2007
    From
    Ottawa, Canada
    Posts
    3,115
    Thanks
    68

    Re: Filling an array

    You ok, Alan?
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Tank Filling Problem
    Posted in the Algebra Forum
    Replies: 1
    Last Post: December 14th 2011, 08:33 PM
  2. Filling Spherical Tank
    Posted in the Calculus Forum
    Replies: 15
    Last Post: August 3rd 2011, 04:31 AM
  3. Pipe Filling
    Posted in the Algebra Forum
    Replies: 2
    Last Post: February 28th 2011, 10:03 AM
  4. help filling this table!
    Posted in the Advanced Statistics Forum
    Replies: 1
    Last Post: February 24th 2010, 09:03 AM
  5. Filling in table
    Posted in the Algebra Forum
    Replies: 16
    Last Post: October 5th 2009, 12:57 PM

Search Tags


/mathhelpforum @mathhelpforum