%I#15 2023年9月24日13:03:43
%S 0,1,2,2,3,4,4,8,4,15,17,22,48,40130,88287323543108411452938,
%电话31416928977015585292493754078464103289194265299752475086,
%电话:8469331216749226192033209355795349292376148258582557082339030115682658011030947178696496
%N具有整数几何平均值的N的整数组成数。
%e a(6)=4至a(9)=15的组合物:
%e(6)(7)(8)(9)
%e(33)(124)(44)(333)
%e(222)(142)(2222)(1224)
%e(111111)(214)(11111111)(1242)
%e(241)(1422)
%e(412)(2124)
%e(421)(2142)
%e(1111111)(2214)
%e(2241)
%e(2412)
%e(2421)
%e(4122)
%e(4212)
%e(4221)
%e(111111111)
%t表[Length[Select[Join@@Permutations/@Integer Partitions[n],IntegerQ[Geometric Mean[#]]&]],{n,0,15}]
%o(Python)
%o来自math导入prod,阶乘
%o从sympy导入integer_ntroot
%o从sympy.utilities.iterables导入分区
%o def A357710(n):如果integer_nthroot(prod(a**b代表a,b代表p.items()),s)[1]),如果n其他0#蔡华武,则返回s的和(阶乘(d代表p.values()中的d)),分区中的p(n,大小=True)
%Y无序版本(分区)为A067539,按A326623排名。
%Y具有整数平均值的成分为A271654,分区为A067538。
%几何平均数为整数的Y子集为A326027。
%Y分解的版本是A326028。
%严格的情况是A339452,分区A326625。
%Y这些成分按A357490进行排名。
%Y A011782统计成分。
%Y参见A025047、A051293、A078174、A078175、A102627、A320322、A326622、A326664、A326641、A357182、A357183。
%K nonn公司
%0、3
%A _Gus Wiseman_,2022年10月15日
%E更多条款,来自_David A.Corneth,2022年10月17日
|