answersLogoWhite

0

create a program that iterates until it finds a perfect number, then store that perfect number into an array. Continue iterating until you find three more. Then, you have an array of four perfect numbers.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Make a program that displays the first four perfect numbers?

int main (void) { puts ("6 28 496 8128"); return 0; }


What numbers are perfect?

6, 28, 496 and 8128 are the first four Perfect numbers.


Are any of the numbers from 2 to 5 perfect?

No. The first two "perfect numbers" are 6 and 28.


What are some other perfect numbers?

Other than what? The first perfect numbers are 6 and 28.


Is 20 a perfect number in math?

No. In the first hundred numbers, there are only two perfect numbers: 6, and 28.


Is 495 a perfect number?

No, it isn't. In fact, it is not known whether are odd perfect numbers exist. The first perfect numbers are 6, 28, 496, and 8128.


Do you think your perfect with C programming Den tell me how?

The first language you should learn is not C. It is English.


Is 282 a perfect number'?

No. The first four perfect numbers are 6, 28, 496, 8128.


What are the first 20 perfect numbers?

149162536496481100121144169196225256289324361400------------The above numbers are squares not perfect numbers. A perfect number n is one that is equal to the proper divisors of n. Here are the first few:628496812833550336858986905613743869132823058430081399521282658455991569831744654692615953842176191561942608236107294793378084303638130997321548169216I don't know if more of them are known. For more information see oeis.org.


How is 2002 a perfect number?

2002 is not a perfect number. The first four perfect numbers are 6, 28, 496, and 8128.


What are the perfect numbers in order?

The first perfect numbers are 6, 28, 496, 8128.More information here: http://en.wikipedia.org/wiki/Perfect_numberThe first perfect numbers are 6, 28, 496, 8128.More information here: http://en.wikipedia.org/wiki/Perfect_numberThe first perfect numbers are 6, 28, 496, 8128.More information here: http://en.wikipedia.org/wiki/Perfect_numberThe first perfect numbers are 6, 28, 496, 8128.More information here: http://en.wikipedia.org/wiki/Perfect_number


Is the number 42 a perfect number?

No, it is not a perfect number. The first four known perfect numbers are 6, 28, 496 and 8,128.