login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A065561 a(1) = 1; for n >= 2, a(n) = (d(n)-1)-th highest positive integer that equals no a(k), 1 <= k < n, where d(n) is the number of positive divisors of n, A000005(n). 3

%I #18 Dec 12 2017 00:31:48

%S 1,2,3,5,4,8,6,10,9,12,7,16,11,15,17,19,13,22,14,24,21,23,18,30,25,27,

%T 28,32,20,36,26,35,33,34,37,43,29,39,40,46,31,48,38,47,49,44,41,56,45,

%U 53,51,55,42,60,54,62,57,58,50,70,52,63,66,68,64,72,59,71,67,76,61,82

%N a(1) = 1; for n >= 2, a(n) = (d(n)-1)-th highest positive integer that equals no a(k), 1 <= k < n, where d(n) is the number of positive divisors of n, A000005(n).

%C Every positive integer occurs once and only once somewhere in this sequence.

%H Michael De Vlieger, <a href="/A065561/b065561.txt">Table of n, a(n) for n = 1..10000</a>

%H <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>

%e d(6)-1 = 3 and the 3rd-highest positive integer not equal to 1, 2, 3, 5, or 4 (the values of a(k) for 1 <= k < 6) is 8.

%t With[{nn = 72}, Fold[Append[#1, Complement[Range[#2 + Ceiling[nn/6]], #1][[DivisorSigma[0, #2] - 1]]] &, {1}, Range[2, nn]]] (* _Michael De Vlieger_, Dec 11 2017 *)

%Y Cf. A065578, A065562.

%K nonn

%O 1,2

%A _Leroy Quet_, Nov 29 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 11 02:35 EDT 2024. Contains 372388 sequences. (Running on oeis4.)