OFFSET
1,1
FORMULA
Presumably a(n) ~ 10n. - Charles R Greathouse IV, Sep 18 2012
EXAMPLE
Pi = 3.1415926535..., gamma = 0.5772156649...; seventh digit of Pi and seventh digit of gamma are both 6, hence 7 is in the sequence.
MAPLE
P:=proc(i) local a, b, n; a:=convert(evalf(gamma, 1000), string); b:=convert(evalf(Pi-3, 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);
PROG
(Magma) m:=600; p:=Pi(RealField(m+1)); sp:=IntegerToString(Round(10^m*(p-3))); g:=EulerGamma(RealField(m)); sg:=IntegerToString(Round(10^m*g)); [ a: a in [1..m] | sp[a] eq sg[a] ]; // Klaus Brockhaus, Sep 03 2009
KEYWORD
easy,nonn,base
AUTHOR
Paolo P. Lava and Giorgio Balzarotti, Aug 27 2009
EXTENSIONS
Edited and listed terms verified by Klaus Brockhaus, Sep 03 2009
STATUS
approved