OFFSET
0,1
MAPLE
std:=105: Digits:=2*std:
num1:=Pi: num2:=(1+sqrt(5))/2:
A181184:=proc(n) local a, b, c, d, i, am;
a:=evalf(num1-trunc(num1), 2*std):
b:=evalf(num2-trunc(num2), 2*std):
am:=[ abs(trunc(num1)-trunc(num2)) ]:
for i from 0 by 1 to n do
c:=trunc(10*a); d:=trunc(10*b);
a:=frac(evalf(10*a, 2*std)); b:=frac(evalf(10*b, 2*std));
am:=[op(am), abs(c-d)]:
od: end: A181184(std);
MATHEMATICA
Abs[RealDigits[Pi, 10, 150][[1]] - RealDigits[GoldenRatio, 10, 150][[1]]]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jani Melik, Jan 26 2011
STATUS
approved