%I #7 Oct 27 2018 21:58:27
%S 1,2,2,1,2,6,1,2,2,10,6,2,1,14,2,1,2,18,10,2,6,22,2,6,1,26,14,1,2,30,
%T 1,2,2,34,18,2,10,38,2,10,6,42,22,6,2,46,6,2,1,50,26,1,14,54,1,14,2,
%U 58,30,2,1,62,2,1,2,66,34,2,18,70,2,18,10,74,38,10,2,78,10,2,6,82,42,6,22
%N Smallest member of smallest set S(n) of positive integers containing n which satisfies "k is in S, iff 2k-1 is in S, iff 4k is in S".
%C Ratio of number of times 2 appears to number of times 1 appears tends towards (1+sqrt(5))/2. Ratio of number of times 2 appears to number of times 4m+2 appears tends towards ((1+sqrt(5))/2)^log_2(2m+1).
%H Michael Gilleland, <a href="/selfsimilar.html">Some Self-Similar Integer Sequences</a>
%e a(23)=2 since if 23 is in S(23) then so are 12, 3 and 2; however 1 need not be and so the smallest member of S(23) is 2.
%Y All values of a(n) are 1 or of form 4m+2, i.e., A016825. a(n)=1 iff n is in A048297.
%K nonn
%O 1,2
%A _Henry Bottomley_, Nov 23 2000
|