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.
%I A304103 #27 Jul 18 2018 12:26:32 %S A304103 1,2,2,3,2,4,2,5,3,4,2,6,2,5,4,7,2,8,2,6,5,5,2,9,3,4,10,11,2,12,2,6,5, %T A304103 13,5,14,2,13,4,9,2,15,2,11,8,10,2,16,17,18,13,6,2,19,5,20,13,5,2,21, %U A304103 2,13,6,22,4,23,2,24,10,25,2,26,2,10,18,27,28,12,2,29,30,13,2,31,13,32,5,33,2,34,5,35,13,5,13,21,2,36,37,38,2,39,2,9,15 %N A304103 Restricted growth sequence transform of A304102, a filter sequence related to the proper divisors of n expressed in Fibonacci number system. %C A304103 For all i, j: a(i) = a(j) => b(i) = b(j), where b can be any of {A000005, A293435, A304095 or A300836} for example. %H A304103 Antti Karttunen, <a href="/A304103/b304103.txt">Table of n, a(n) for n = 1..65537</a> %o A304103 (PARI) %o A304103 \\ Needs also code from A304101. %o A304103 up_to = 65537; %o A304103 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 A304103 write_to_bfile(start_offset,vec,bfilename) = { for(n=1, length(vec), write(bfilename, (n+start_offset)-1, " ", vec[n])); } %o A304103 A304102(n) = { my(m=1); fordiv(n,d,if(d<n, m *= prime(A304101(d)-1))); (m); }; %o A304103 write_to_bfile(1,rgs_transform(vector(up_to,n,A304102(n))),"b304103.txt"); %Y A304103 Cf. A293435, A304095, A300836, A304102. %Y A304103 Cf. also A300835, A304105, A305800. %Y A304103 Cf. A305793 (analogous filter for base 2). %K A304103 nonn %O A304103 1,2 %A A304103 _Antti Karttunen_, May 13 2018