A039916 Concatenation of the decimal digits of Pi-3.
1, 14, 141, 1415, 14159, 141592, 1415926, 14159265, 141592653, 1415926535, 14159265358, 141592653589, 1415926535897, 14159265358979, 141592653589793, 1415926535897932, 14159265358979323, 141592653589793238
Offset: 1
Links
- Kurt Van den Branden, More digits
Crossrefs
See A000796, which is the main entry for Pi.
Programs
-
Maple
A039916 := proc(n) Digits := n+4 ; 10^n*evalf(Pi-3) ; floor(%) ; end proc: seq(A039916(n),n=1..10) ; # R. J. Mathar, Oct 04 2014
-
Mathematica
With[{pids=Rest[RealDigits[\[Pi],10,40][[1]]]},Table[FromDigits[Take[ pids,n]],{n,20}]] (* Harvey P. Dale, Mar 09 2011 *)
Formula
a(n) = floor((Pi-3)*10^n). G.f.: (f(x)-3*x)/(x-10*x^2) where f(x) is the G.f. of A000796. - Robert Israel, Oct 06 2014