##### Properties of an Integer

Accepts user input for integer from 1 to 1 million and tells user some interesting properties that number has. Please tell me what I can do to make it better since I'm still a beginner.

LAMAQDAHODWALA

Try using a concurrent system such as threading to speed up results, since it is a little slow. Otherwise, great work!

RedhaAD

@LAMAQDAHODWALA Thanks for the tip! I'm not sure how to create and use threads but I'll learn how to do it and update the code.

JWZ6

Cool

pog

69 is an odd number.

69 is a semiprime number.

69 is a composite number.

The square root of 69 is aproximately equal to 8.306623862918075

The cube root of 69 is approximately equal to 4.101565929702347

The square of 69 is 4761

The cube of 69 is 328509

69 is expressed as 1000101 in binary (base 2).

69 is expressed as 105 in octal (base 8).

69 is expressed as 45 in hexadecimal (base 16).

69 has 4 factors.

The sum of the factors of 69 is 27

Therefore, 69 is a deficient number.

69's factors are:

1, 3, 23, 69

Its prime factorisation is:

3 x 23

@ch1ck3n

6969 is an odd number.

6969 is a composite number.

The square root of 6969 is aproximately equal to 83.48053665376139

The cube root of 6969 is approximately equal to 19.10103153150811

The square of 6969 is 48566961

The cube of 6969 is 338463151209

6969 is expressed as 1101100111001 in binary (base 2).

6969 is expressed as 15471 in octal (base 8).

6969 is expressed as 1b39 in hexadecimal (base 16).

6969 has 8 factors.

The sum of the factors of 6969 is 2823

Therefore, 6969 is a deficient number.

6969's factors are:

1, 3, 23, 69, 101, 303, 2323, 6969

Its prime factorisation is:

3 x 23 x 101

@ch1ck3n

420 is an even number.

420 is a composite number.

The square root of 420 is aproximately equal to 20.493901531919196

The cube root of 420 is approximately equal to 7.488872387218507

The square of 420 is 176400

The cube of 420 is 74088000

420 is a pronic number.

420 is expressed as 110100100 in binary (base 2).

420 is expressed as 644 in octal (base 8).

420 is expressed as 1a4 in hexadecimal (base 16).

420 has 24 factors.

The sum of the factors of 420 is 924

Therefore, 420 is an abundant number.

420's factors are:

1, 2, 3, 4, 5, 6, 7, 10, 12, 14, 15, 20, 21, 28, 30, 35, 42, 60, 70, 84, 105, 140, 210, 420

Its prime factorisation is:

2 x 2 x 3 x 5 x 7