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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A068441 Numbers n such that the n-th digit is the same in e and Pi expansions in base 2. 0
2, 3, 5, 6, 11, 16, 17, 18, 22, 28, 30, 32, 33, 34, 35, 36, 41, 43, 44, 48, 49, 50, 52, 53, 54, 56, 58, 62, 63, 66, 68, 71, 72, 73, 76, 78, 79, 80, 83, 85, 86, 88, 90, 92, 96, 98, 99, 106, 107, 108, 109, 111, 112, 114, 115, 116, 117, 118, 119, 120, 122, 123, 124, 125 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

"Digit" refers to the sequence of digits past the period, 1st digit having value 1/2:

00100100001111110110... for Pi and

10110111111000010101... for exp(1). - R. J. Mathar, Mar 22 2012

LINKS

Table of n, a(n) for n=1..64.

MATHEMATICA

With[{eb2=Drop[RealDigits[E, 2, 150][[1]], 2], pb2=Drop[RealDigits[Pi, 2, 150] [[1]], 2]}, Select[Range[130], eb2[[#]]==pb2[[#]]&]] (* Harvey P. Dale, Mar 22 2012 *)

PROG

(PARI) E=binary(exp(1))[2]; P=binary(Pi)[2]; for(n=1, min(#E, #P), E[n]==P[n] && print1(n", ")) \\ - M. F. Hasler, Mar 22 2012

(PARI) E=exp(1); for(n=1, 150, (Pi\.5^n-E\.5^n)%2 || print1(n", ")) \\ - M. F. Hasler, Mar 22 2012

CROSSREFS

Cf. A004601, A004593.

Sequence in context: A180336 A034407 A280218 * A268935 A112598 A078913

Adjacent sequences:  A068438 A068439 A068440 * A068442 A068443 A068444

KEYWORD

easy,nonn,base

AUTHOR

Benoit Cloitre, Mar 09 2002

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified July 23 05:58 EDT 2017. Contains 289686 sequences.