

A109295


Location of the first occurrence of the base2 representation of n as a substring of A108737.


2



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, 8, 42, 21, 46, 50, 24, 10, 56, 61, 29, 34, 5, 67, 32, 73, 14, 2, 16, 40, 19, 23, 9, 60, 4, 79, 37, 85, 18, 8, 91, 96, 42, 21, 102, 46, 107, 112, 50, 24, 119, 125, 10, 56, 129, 135, 61, 29
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,2


LINKS

Paul Tek, Table of n, a(n) for n = 0..10000
Paul Tek, Perl program for this sequence


EXAMPLE

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.


PROG

(Perl) See Links section.


CROSSREFS

Cf. A108737, A109296.
Sequence in context: A135018 A073018 A201509 * A211188 A057899 A210200
Adjacent sequences: A109292 A109293 A109294 * A109296 A109297 A109298


KEYWORD

nonn,base


AUTHOR

John W. Layman, Jun 24 2005


STATUS

approved



