One of Leroy Quet's sequences

John Layman layman at calvin.math.vt.edu
Mon Feb 23 19:11:42 CET 2004


Leroy Quet asks:  Has anybody calculated the sequence and/or its inverse to any
number of terms greater than I have? 

I have just submitted the following to the OEIS:

%I A000001
%S A000001
1,2,13,3,6,26,4,11,205,9,5,24,7,51,22,102,20,49,18,8,410,10,16,12,47,14,10
0,45,203,43,98,41,3277,39,96,37,201,35,94,15,33,17,408,19,31,21,92,23,29,25,199,27,
90,819,88,197,86,406,84,195,82,1638,80,193,78,404,76,191,74,817,72,189,70,402,
68,187,66,6554,28,64,30,185,32,62,34,400,36,60,38,183,40,58,42,815,44,56,46,181,48,54
,50,398,52,179,1636,177,396,175,813,173,394,171,3275,169,392,167,811,165,
390,163
%N A000001 a(1)=1; for m=2,3,4,..., set a(n)=m, where n is the smallest unassigned
index with m-1 unassigned indices still remaining between m and m-1.
%C A000001 Suggested by Leroy Quet in SeqFan memo 3602 on Feb. 16, 2004, where he
gave the terms with values 1-16, with a(6) the first unassigned term.
%e A000001 After 1 has been assigned to a(1), the first unassigned term that is one
term away from 1 is a(2), so a(2)=2; the first unassigned term that is two terms away 
from 2 is a(4), so a(4)=3; the first unassigned term that is 3 terms away from 3 is
a(7), so a(7)=4; the first unassigned term that is 4 terms away from 4 is a(11), so
a(11)=5; at this point we have 1,2,*,3,*,*,4,*,*,*,5,..., where * indicates a term to
which a value has not yet been assigned.  The next value to assign is 6 which must be 
assigned to the first term of the sequence that is 5 terms away from a(11)=5; since
a(5) has not yet been assigned a value, and since at this point 5 terms with
unassigned values lie between a(5) and a(11), we must  assign 6 to a(5), i.e. a(5)=6.
%O A000001 1
%K A000001 ,nonn,
%A A000001 John W. Layman (layman at math.vt.edu), Feb 23 2004
RH 
RA 128.173.42.69
RU 
RI 





More information about the SeqFan mailing list