login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A293793 Numbers k such that (d(k), d(k+1)) = (0,1) in the base-2 digits d(i) of e. 4
2, 4, 7, 17, 19, 21, 25, 27, 32, 34, 38, 40, 42, 46, 49, 52, 54, 56, 59, 62, 64, 66, 68, 75, 81, 83, 85, 90, 98, 101, 106, 111, 114, 120, 127, 131, 136, 138, 143, 149, 151, 158, 164, 170, 172, 175, 178, 181, 184, 187, 189, 191, 194, 196, 199, 207, 210, 213 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A293792, A293794, and A293795 partition the positive integers.
LINKS
EXAMPLE
(d(i)) = (1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1,...) = A004593, in which (0,1) first occurs as (a(2),a(3)).
MATHEMATICA
z = 100; s = StringJoin[Map[ToString, First[RealDigits[N[E], 10000], 2]]]];
Take[Map[#[[1]]&, StringPosition[s, "00"]], z] (*A293792*)
Take[Map[#[[1]]&, StringPosition[s, "01"]], z] (*A293793*)
Take[Map[#[[1]]&, StringPosition[s, "10"]], z] (*A293794*)
Take[Map[#[[1]]&, StringPosition[s, "11"]], z] (*A293795*)
(* Peter J. C. Moses, Oct 15 2017 *)
SequencePosition[RealDigits[E, 2, 300][[1]], {0, 1}][[All, 1]] (* Harvey P. Dale, Apr 09 2022 *)
CROSSREFS
Sequence in context: A171880 A171874 A113878 * A301745 A348449 A026775
KEYWORD
nonn,easy,base
AUTHOR
Clark Kimberling, Oct 19 2017
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 19 07:04 EDT 2024. Contains 370953 sequences. (Running on oeis4.)