Question: Python programming question File Name: ICS3UEmiliaNumbers.py A positive Integer will be an Emilia Number if it has at least two sets of factors where the

Python programming question

File Name: ICS3UEmiliaNumbers.py

A positive Integer will be an Emilia Number if it has at least two sets of factors where the sum of one set equals the difference of another set.

For Example:

  • 6 is an Emilia Number. It has a sets of factors (6,1) and (2,3) where 2 + 3 = 6 1
  • 30 is an Emilia Number. It has sets of factors (10,3) and (15,2) where 10 + 3 = 15 2
  • 84 is an Emilia Number. It has sets of factors (21,4) and (28,3) where 21 + 4 = 28 3

Write a program that finds Emilia Numbers, and if you tested the numbers from 1 to 1000, how many Emilia numbers would you find?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!