login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Location of the first occurrence of the base-2 representation of n as a substring of A108737.
2

%I #12 Apr 13 2021 23:54:37

%S 1,2,2,4,5,2,4,8,10,5,14,2,4,18,8,21,24,10,29,5,32,14,2,19,9,4,37,18,

%T 8,42,21,46,50,24,10,56,61,29,34,5,67,32,73,14,2,16,40,19,23,9,60,4,

%U 79,37,85,18,8,91,96,42,21,102,46,107,112,50,24,119,125,10,56,129,135,61,29

%N Location of the first occurrence of the base-2 representation of n as a substring of A108737.

%H Paul Tek, <a href="/A109295/b109295.txt">Table of n, a(n) for n = 0..10000</a>

%H Paul Tek, <a href="/A109295/a109295.pl.txt">Perl program for this sequence</a>

%e A108737 begins 0,1,0,1,1,0,0,1,1,1,0,0,0,1,0,1,0,... The first occurrence of the substring 1010 (10 in base 2) is at term 14. Thus a(10)=14.

%o (Perl) See Links section.

%Y Cf. A108737, A109296.

%K nonn,base

%O 0,2

%A _John W. Layman_, Jun 24 2005