文章目录 前言一、普通的眼光1.涵盖1.不重复 二、奇葩的眼光引申总结 前言 一段时间里不知道要写什么好,遇不见适合分享的东西,也懒了一点儿。本篇是关于求正整数正因数和的,另外有一些类似的引申。 一、普通的眼光 首先,一个正整数可以根据素因式分解唯一定理得到一个唯一的素数乘积的表示形式: a = p 1 α 1 p 2 α 2 … p m α m a=p_1^{\
题目描述 Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be factored as 356*7, where 5, 6, and 7 are the three consecutive numbers. Now gi
题目链接 Description Given a positive integer X, an X-factor chain of length m is a sequence of integers, 1 = X0, X1, X2, …, Xm = X satisfying Xi < Xi+1 and Xi | Xi+1 where a | b means a perfectly divid