Results 1 to 2 of 2
  1. #1
    aRTx is offline Member
    Join Date
    Mar 2009
    Rep Power

    Question How to reduce the number of tables?

    Hi everyone!

    I have a big problem:

    If there is a set A={1,2,3,...,47,48,49} there are 49 elements, if we choolse randomly 6 numbers what is probability?

    If we generate all of these combination and we will have 13983816 combination.

    We want to put these in a table and add six column it will be (12-COLUMNS X 13983816-ROWS) then the number of rows will be reduce.

    I have build some tables with a sample 2-elements from 9.
    The first table is main and the other tables are the table in wich all of these combiantion find.

    My question:
    How can I made all of these combination in a small number of tables?

  2. #2
    curmudgeon is offline Senior Member
    Join Date
    May 2010
    Rep Power


    What is the context here? Is this a Swing app and are these JTables? Something else?

    Buena suerte!

Similar Threads

  1. reduce redundancy
    By hydride in forum New To Java
    Replies: 4
    Last Post: 04-06-2010, 09:25 PM
  2. Replies: 2
    Last Post: 12-30-2008, 03:10 PM
  3. How do I reduce Fractions in this program?
    By Popedreadlock in forum New To Java
    Replies: 8
    Last Post: 12-08-2008, 01:28 AM
  4. Replies: 0
    Last Post: 04-07-2008, 08:56 PM
  5. How to reduce the size or avoiding out of memory error?
    By rajeshkumarmsc in forum Advanced Java
    Replies: 3
    Last Post: 08-11-2007, 11:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts