搜索: 编号:a179239
|
|
|
|
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 23, 24, 25, 26, 27, 28, 29, 30, 33, 34, 35, 36, 37, 38, 39, 40, 44, 45, 46, 47, 48, 49, 50, 55, 56, 57, 58, 59, 60, 66, 67, 68, 69, 70, 77, 78, 79, 80, 88, 89, 90, 99, 100, 101, 102, 103
(列表;图表;参考;听;历史;文本;内部格式)
|
|
|
抵消
|
0,3
|
|
评论
|
设正整数n的“置换集”是对n的数字进行置换而形成的所有整数的集合。如果两个整数生成相同的置换集,则它们是“置换同余”的。“置换类”是所有置换全等整数的集合。这个序列列出了每个置换类,由其最小成员标识。
这些也是按顺序排列的正整数,如果前面列出的d位数字是n的数字的置换,则省略任何d位数字n。
|
|
链接
|
亚伦·杜尼根(Aaron Dunigan AtLee)和迈克尔·德弗利格(Michael De Vlieger),n=0..10000时的n,a(n)表(前2997个术语来自Aaron Dunigan AtLee;前缀0 by乔治·菲舍尔2019年10月24日)
|
|
例子
|
24的置换集是{24,42},这是它们的等价类模置换,所以列出了24,但没有列出42。
30的置换集是{3,30},但3与30不在同一置换类中,因为30不能通过置换3的数字来获得。因此,30与3分开列出。
数字89和98也是置换同余的,形成了一个置换类,因此只列出较小的一个。
|
|
数学
|
maxTerm=103;(*maxTerm是您希望看到的最大项*)permutationSet[n_Integer]:=FromDigits/@Permutations[IntegerDigits[n]];排列一致性Q[x_Integer,y_Integer]:=排序[排列集[x]]==排序[排序集[y]];删除重复项[Range[maxTerm],permutationCongruentQ]
f[n_]:=块[{a={0},b={DigitCount[0]},i,w},Do[w=Digit计数@i;附加到[b,w];如果[!MemberQ[Most@b,w],AppendTo[a,i]],{i,n}];休息@a];f@103(*或更快:*)
选择[Range@103,LessEqual@@IntegerDigits@#||和[Take[IntegerDigits@#,Last@DigitCount@#+1]==Reverse@Take[Sort@IntegerPigits@@#,Last@DigicCount@#+1],LessEqual@@DeleteCases[Integer Digits@#,d_/;d==0]&](*迈克尔·德弗利格2015年7月14日*)
|
|
黄体脂酮素
|
(PARI)是(n)={my(d=数字(n),i);对于(i=2,#d,如果(d[i]!=0,d=vecextract(d,concat([1],vector(#d-i+1,j,i-1+j));break));d=vecsort(d)|n/10^赋值(n,10)<10}
\\给定一个元素n,在基底b中,从序列中找到下一个元素。
nxt(n,{b=10})={my(d=数字(n)(j=1,#d,d[j]*10^(#d-j))}\\大卫·A·科内斯2016年4月23日
(Python)
从itertools导入count、chain、islice
从症状实用程序可交互导入组合_with_replacement
返回链((0,),(int(a+''.join(b))for l in count(1)for a in'123456789'for b in combinations_with_replacement('0'+''.jjoin(str(d)for d in range(int(a),10)),l-1))
|
|
交叉参考
|
|
|
关键词
|
非n,基础
|
|
作者
|
|
|
扩展
|
|
|
状态
|
经核准的
|
|
|
搜索在0.004秒内完成
|