|
Search: id:A164820
|
|
|
| A164820 |
|
Numbers n such that n-th digit (after decimal point) of e and of Euler-Mascheroni constant gamma are the same. |
|
+0 2
|
|
| 4, 30, 33, 34, 48, 49, 52, 59, 60, 66, 96, 113, 115, 134, 146, 155, 163, 169, 175, 180, 193, 196, 200, 206, 211, 235, 251, 274, 288, 300, 302, 304, 330, 336, 338, 350, 354, 358, 368, 373, 381, 399, 412, 419, 430, 436, 438, 440, 491, 506, 536, 542, 552, 579
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
EXAMPLE
|
e = 2.7182818284..., gamma = 0.5772156649...; fourth digit of e and fourth digit of gamma are both 2, hence 4 is in the sequence.
|
|
MAPLE
|
P:=proc(i) local a, b, c, d, n; a:=convert(evalf(gamma, 1000), string); b:=convert(evalf(exp(1)-2, 1000), string); for n from 2 by 1 to i do if substring(a, n)=substring(b, n) then print(n-1); fi; od; end: P(900);
|
|
PROGRAM
|
(MAGMA) m:=600; e:=Exp(One(RealField(m+1))); se:=IntegerToString(Round(10^m*(e-2))); g:=EulerGamma(RealField(m)); sg:=IntegerToString(Round(10^m*g)); [ a: a in [1..m] | se[a] eq sg[a] ]; [From Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Sep 03 2009]
|
|
CROSSREFS
|
Cf. A068394, A164819.
Sequence in context: A166168 A126559 A159862 this_sequence A022387 A108559 A167395
Adjacent sequences: A164817 A164818 A164819 this_sequence A164821 A164822 A164823
|
|
KEYWORD
|
easy,nonn,base
|
|
AUTHOR
|
Paolo P. Lava & Giorgio Balzarotti (ppl(AT)spl.at), Aug 27 2009
|
|
EXTENSIONS
|
Edited and listed terms verified by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Sep 03 2009
|
|
|
Search completed in 0.002 seconds
|