官术网_书友最值得收藏!

16. Proper divisors

A divisor of a number N is any number that divides evenly into N. For example, the divisors of 12 are {1, 2, 4, 6, 12}.

The proper divisors of a number N are N's divisors, not including N itself. For example, the proper divisors of 12 are {1, 2, 4, 6}.

Write a program that finds a number's proper divisors.

主站蜘蛛池模板: 赤壁市| 湖口县| 阿图什市| 临邑县| 浙江省| 晋宁县| 舞阳县| 确山县| 汝南县| 洛宁县| 临湘市| 东宁县| 海城市| 日喀则市| 博白县| 胶州市| 马边| 衡山县| 三亚市| 东明县| 甘南县| 凤庆县| 大石桥市| 高州市| 奇台县| 交城县| 兰考县| 贵溪市| 扬中市| 永安市| 桃源县| 长乐市| 辰溪县| 通辽市| 金平| 广平县| 阿合奇县| 石台县| 嘉兴市| 泰和县| 龙井市|