[go: up one dir, main page]

login
A138324
a(n) = the second term in the simple continued fraction of Pi^n.
5
7, 1, 159, 2, 50, 2, 3, 1, 10, 21, 55, 5, 3, 5, 1, 1, 1, 14, 1, 12, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 2, 1, 1, 11, 2, 1, 1, 3, 3, 1, 1, 1, 2, 1, 1, 1, 7, 1, 8, 1, 2, 33, 1, 1, 1, 1, 117, 1, 2, 1, 1, 1, 8, 1, 2, 1, 1, 1, 1, 1, 27, 1, 1, 5, 4, 1, 1, 1, 270, 1, 1, 1, 5, 3, 1, 25, 2, 10, 9, 1, 16, 1, 1, 1
OFFSET
1,1
LINKS
FORMULA
a(n) = floor(1/(pi^n - floor(pi^n))).
MATHEMATICA
Table[Floor[1/(# - Floor[#])] &[Pi^n], {n, 96}] (* Michael De Vlieger, Aug 29 2017 *)
PROG
(PARI) \p 2000 a(n) = floor(1/(Pi^n - floor(Pi^n))); for(i=1, 100, print1(a(i), ", ")) \\ Vim Wenders, Mar 28 2008
CROSSREFS
Cf. A001672.
Sequence in context: A051186 A373389 A012034 * A052122 A027538 A334394
KEYWORD
nonn
AUTHOR
Leroy Quet, Mar 14 2008
EXTENSIONS
More terms from Vim Wenders, Mar 28 2008
STATUS
approved