1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kramer
4 years ago
15

Problem 4 (3 pts): Let n be a positive integer. Show that among any group of n 1 (not necessarily consecutive) positive integers

there are at least two with the same reminder when they are divided by n.
Computers and Technology
1 answer:
konstantin123 [22]4 years ago
3 0

Answer:There are two integers in the group of n+1 integers with exactly the same remainder when they are divided by n.

Explanation:

Generally, if a number is divided by p(positive integer), then the possible remainders will be from 0 to p-1.

Here, the possible remainders when an integer is divided by n are 0,1,....,n-1

so the number of possible remainders when an integer is divided by n is n.

In this case, the number of objects is n+1 integers and the number of boxes (remainders) is n.

p/k = (n+1)/n

= 1+(1/n)

= 2

Here, 0<1/n<1

Add 1 on both sides to get the following

0+1 < 1+1/n<1+1

1<1+1/n<2

so the value of p/k = 2 means that there is atleast one remainder which is same for two integers when they are divided by n

There are therefore two integers in the group of n+1 integers with exactly the same remainder when they are divided by n.

You might be interested in
Instance data for a Java class Group of answer choices are limited to primitive types (e.g., int, float, char) are limited to St
Arisa [49]

Question

Instance data for a Java class

a. Are limited to primitive types (e.g., int, float, char)

b. Are limited to Strings

c. Ae limited to objects(e.g., Strings, classes defined by other programmers)

d. May be primitive types or objects, but objects must be defined to be private

e. May be primitive types or objects

Answer:

e. Instance data for a Java class may be primitive types or objects.

Explanation:

Instance data are defined as those entities that make up the class.

Instances may be of any available data type, whether it is primitive or it is an object.

Instances may also be public and they may be private.

By using objects as instance data, it permits the class to be built upon other classes. This relationship where a class has instance data that are other classes is known as a has a relationship.

8 0
4 years ago
Please answer in Java
ra1l [238]

Answer:

Scanner keyboard = new Scanner(System.in);

   

       

       

        double discount = 0;

        double productPrice;

        double subTotal;

        double salesTax;

        double saleTotal;

       

       

       System.out.printf("Enter the purchase amount:");

       productPrice = keyboard.nextDouble();

       

       if (productPrice > 10) {

          discount = 10;

}

       System.out.println( + discount + "% discount applied.");

       

       subTotal = (productPrice);

       salesTax = (subTotal * 0.14);

       saleTotal = (subTotal + salesTax - discount );

       System.out.printf("Subtotal: $%5.2f\n", subTotal);

       System.out.printf("Discount; -$%5.2f\n", productPrice - discount);

       System.out.printf("HST: $%5.2f\n", salesTax);

       System.out.printf("Total: $%5.2f\n", saleTotal + salesTax);

}

}

Explanation:

8 0
3 years ago
Research and recommend the most appropriate VPN technology. The most likely solution is either an Internet Protocol Security (IP
chubhunter [2.5K]

Answer:

The five eras are general- purpose mainframe and minicomputer computing, personal computers, client/server networks, ...

7 0
3 years ago
Help pleaseeeeeeee !!!
dedylja [7]
I think it’s false but I’m not exactly certain
3 0
3 years ago
The only item on the desktop of a new Mac is the hard-drive icon. <br><br> True or false?
Andre45 [30]

Answer:

False

There are many more items on the desktop of a new Mac than the hard-drive icon.

3 0
4 years ago
Other questions:
  • Assume the availability of a function is_prime. Assume a variable n has been associated with positive integer. Write the stateme
    7·1 answer
  • Consider the following business environment.
    14·1 answer
  • Which of the following techniques has to do with how the people who make the commercial manipulate the way it looks?
    8·1 answer
  • Web 2.0 has led to a shift just from consuming content towards what
    6·1 answer
  • In a speech at a research conference, a computer expert stated that shopping centers would become obsolete in the future. He bel
    8·1 answer
  • A computer ________ is two or more computers connected using software and hardware so that they can communicate with each other.
    10·1 answer
  • Could someone please paraphrase this for me and rewrite it in your own words??
    13·1 answer
  • I am buying a BluRay drive access time is 180ms and the other is 210ms(BD-ROM) whats does access time mean
    5·1 answer
  • Select all the lines that have a slope of 5/2
    13·1 answer
  • Iris has completed a graphic design project for a client. what should iris obtain from the client in order to display the work i
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!