login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A155816 First nonzero digit in the decimal expansion of (cos Pi/4)^n 0
7, 5, 3, 2, 1, 1, 8, 6, 4, 3, 2, 1, 1, 7, 5, 3, 2, 1, 1, 9, 6, 4, 3, 2, 1, 1, 8, 6, 4, 3, 2, 1, 1, 7, 5, 3, 2, 1, 1, 9, 6, 4, 3, 2, 1, 1, 8, 5, 4, 2, 2, 1, 1, 7, 5, 3, 2, 1, 1, 9, 6, 4, 3, 2, 1, 1, 8, 5, 4, 2, 2, 1, 1, 7, 5, 3, 2, 1, 1, 9, 6, 4, 3, 2, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Table of n, a(n) for n=0..85.

EXAMPLE

(cos Pi/4)^4=0.25, so a(4)=2. (cos Pi/4)^8=0.0625, so a(8)=6

MATHEMATICA

With[{c=Cos[Pi/4]}, Table[First[RealDigits[N[c^n, 20]][[1]]], {n, 120}]] (* Harvey P. Dale, Nov 07 2012 *)

CROSSREFS

Sequence in context: A180597 A219242 A330920 * A308414 A335985 A093824

Adjacent sequences:  A155813 A155814 A155815 * A155817 A155818 A155819

KEYWORD

nonn,base

AUTHOR

Avik Roy (avik_3.1416(AT)yahoo.co.in), Jan 28 2009

EXTENSIONS

More terms from Harvey P. Dale, Nov 07 2012

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 5 06:44 EST 2020. Contains 338944 sequences. (Running on oeis4.)