login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A304105 Restricted growth sequence transform of A304104, a filter sequence related to how the divisors of n are expressed in Fibonacci number system. 6

%I

%S 1,2,2,3,2,4,5,6,7,4,5,8,2,9,4,10,11,12,11,8,6,9,13,14,15,4,16,17,5,

%T 18,11,8,19,20,9,21,13,22,4,23,11,24,25,26,27,28,5,29,30,31,32,8,33,

%U 34,6,35,36,9,11,37,25,22,12,38,39,40,33,41,16,42,25,43,11,44,45,46,47,18,11,48,49,50,51,52,53,54,19,55,2,56,9,57,22,9,58,59,13,60

%N Restricted growth sequence transform of A304104, a filter sequence related to how the divisors of n are expressed in Fibonacci number system.

%H Antti Karttunen, <a href="/A304105/b304105.txt">Table of n, a(n) for n = 1..65537</a>

%F For all i, j: a(i) = a(j) => b(i) = b(j), where b can be any of {A000005, A005086, A304096 or A300837} for example.

%o (PARI)

%o \\ Needs also code from A304101:

%o up_to = 65537;

%o 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 write_to_bfile(start_offset,vec,bfilename) = { for(n=1, length(vec), write(bfilename, (n+start_offset)-1, " ", vec[n])); }

%o A304104(n) = { my(m=1); fordiv(n,d,if(d>1, m *= prime(A304101(d)-1))); (m); };

%o write_to_bfile(1,rgs_transform(vector(up_to,n,A304104(n))),"b304105.txt");

%Y Cf. A005086, A304096, A300837, A304101, A304103, A304104.

%K nonn

%O 1,2

%A _Antti Karttunen_, May 13 2018

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 21 04:54 EDT 2019. Contains 326162 sequences. (Running on oeis4.)