cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A366802 Lexicographically earliest infinite sequence such that a(i) = a(j) => A366801(i) = A366801(j) for all i, j >= 0, where A366801 is arithmetic derivative without its inherited divisor applied to the Doudna sequence.

This page as a plain text file.
%I A366802 #8 Oct 24 2023 11:47:56
%S A366802 1,2,2,3,2,4,3,5,2,6,7,7,3,6,5,8,2,9,10,11,11,12,13,14,3,9,14,10,5,9,
%T A366802 8,4,2,13,15,16,16,17,18,18,19,20,21,22,23,17,19,15,3,14,13,15,18,24,
%U A366802 16,13,5,14,15,11,8,14,4,25,2,26,16,27,19,28,29,30,31,32,33,34,35,36,27,37,27,38,39,40,41,42,43,28
%N A366802 Lexicographically  earliest infinite sequence such that a(i) = a(j) => A366801(i) = A366801(j) for all i, j >= 0, where A366801 is arithmetic derivative without its inherited divisor applied to the Doudna sequence.
%C A366802 Restricted growth sequence transform of A366801.
%H A366802 Antti Karttunen, <a href="/A366802/b366802.txt">Table of n, a(n) for n = 0..65537</a>
%o A366802 (PARI)
%o A366802 \\ Needs also program from A366801:
%o A366802 up_to = 65537;
%o A366802 rgs_transform(invec) = { my(om = Map(), outvec = vector(length(invec)), u=1); for(i=1, length(invec), if(mapisdefined(om,invec[i]), my(pp = mapget(om, invec[i])); outvec[i] = outvec[pp] , mapput(om,invec[i],i); outvec[i] = u; u++ )); outvec; };
%o A366802 v366802 = rgs_transform(vector(1+up_to,n,A366801(n-1)));
%o A366802 A366802(n) = v366802[1+n];
%Y A366802 Cf. A003415, A005940, A342001, A366801.
%K A366802 nonn
%O A366802 0,2
%A A366802 _Antti Karttunen_, Oct 24 2023