login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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: A013559 A051186 A012034 * A052122 A027538 A334394
KEYWORD
nonn
AUTHOR
Leroy Quet, Mar 14 2008
EXTENSIONS
More terms from Vim Wenders, Mar 28 2008
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)