登录
A286152型
复合过滤器:a(n)=T(A051953号(n) ,A046523号(n) ),其中T(n,k)是序列A000027号用作配对函数。
6
0, 2, 2, 12, 2, 40, 2, 59, 18, 61, 2, 179, 2, 86, 73, 261, 2, 265, 2, 265, 100, 148, 2, 757, 33, 185, 129, 367, 2, 1297, 2, 1097, 166, 271, 131, 1735, 2, 320, 205, 1105, 2, 1741, 2, 619, 517, 430, 2, 3113, 52, 850, 295, 769, 2, 1747, 205, 1517, 346, 625, 2, 5297, 2, 698, 730, 4497, 248, 2821, 2, 1117, 460, 2821, 2, 7069, 2, 941, 1070, 1315, 248,3457, 2, 4513
抵消
1,2
链接
数学世界,配对功能
配方奶粉
a(n)=(1/2)*(2+((A051953号(n)+A046523号(n) )^2)-A051953号(n) -3个*A046523号(n) )。
数学
表[(2+(#1+#2)^2-#1-3#2)/2&@@{n-EulerPhi@n,Times@@MapIndexed[Prime[First@#2]^#1&,Sort[FactorInteger[n][[All,-1]],Greater]]-Boole[n==1]},{n,80}](*迈克尔·德弗利格2017年5月4日*)
黄体脂酮素
(PARI)
A051953号(n) =(n-eulerphi(n));
A046523号(n) ={my(f=vecsort(factor(n)[,2],4),p);prod(i=1,#f,(p=nextprime(p+1))^f[i]);};\\此函数来自查尔斯·格里特豪斯四世2011年8月17日
A286152型(n) =(2+((A051953号(n)+A046523号(n) )^2)-A051953号(n) -3个*A046523号(n) )/2;
对于(n=110000,写入(“b286152.txt”,n,“”,A286152型(n) );
(方案)(定义(A286152型n) (*(/1 2)(+(导出(+(A051953号n)(A046523号n) )2)(-(A051953号n) )(-(*3)(A046523号n) )2)))
(Python)
来自sympy import factorint,totiten
定义T(n,m):返回((n+m)**2-n-3*m+2)/2
定义P(n):
f=因子(n)
返回排序([f[i]代表f中的i)
定义a046523(n):
x=1
为True时:
如果P(n)==P(x):返回x
其他:x+=1
def a(n):返回T(n-总用户(n),a046523(n))#因德拉尼尔·戈什,2017年5月5日
关键词
非n
作者
安蒂·卡图恩2017年5月4日
状态
经核准的