proposed
approved
proposed
approved
editing
proposed
Sylvia Nasar, A Beautiful Mind (1998), p. 210.
approved
editing
proposed
approved
editing
proposed
editing
proposed
a(0) = 3; for n > 0, break up decimal expansion of Pi into chunks of increasing lengths; leading zeros are not printed.
with(StringTools): lim:=23: s:=convert(evalf[lim^2](Pi-3), string): printf("3, "): for n from 1 to lim do printf("%d, ", parse(SubString(s, (n-1)*n/2+2..n*(n+1)/2+1))); od: # _Nathaniel Johnston, _, May 08 2011
approved
editing
Join[{3}, FromDigits/@With[{p=RealDigits[Pi, 10, 220][[1]]}, Table[ Take[ p, {(n(n-1))/2+2, (n(n-1))/2+1+n}], {n, 20}]]] (* From _Harvey P. Dale, _, Aug 20 2011 *)
Extended by _Nathaniel Johnston (nathaniel(AT)nathanieljohnston.com), _, May 08 2011