The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A354782 Second digit from left in decimal expansion of 2^n (n >= 4). 1
6, 2, 4, 2, 5, 1, 0, 0, 0, 1, 6, 2, 5, 3, 6, 2, 0, 0, 1, 3, 6, 3, 7, 3, 6, 3, 0, 1, 2, 5, 7, 4, 8, 3, 7, 4, 0, 1, 3, 7, 7, 5, 0, 4, 8, 6, 1, 2, 5, 0, 8, 6, 2, 4, 8, 7, 1, 3, 6, 2, 8, 6, 3, 4, 9, 9, 1, 3, 7, 4, 8, 7, 5, 5, 0, 0, 2, 4, 8, 6, 9, 8, 7, 5, 0, 1, 2, 4, 9, 9, 9, 9, 9, 5, 1, 3, 2, 5, 0, 0, 0, 0, 1, 6, 2, 4, 2, 5, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
4,1
LINKS
EXAMPLE
2^4 = 16, so a(4) = 6. 2^5 = 32, so a(5) = 2.
MAPLE
a:= n-> parse(""||(2^n)[2]):
seq(a(n), n=4..112); # Alois P. Heinz, Jul 07 2022
MATHEMATICA
A354782[n_]:=IntegerDigits[2^n][[2]]; Array[A354782, 100, 4] (* Paolo Xausa, Oct 22 2023 *)
PROG
(Python)
def A354782(n): return int(str(1<<n)[1]) # Chai Wah Wu, Jul 07 2022
CROSSREFS
Sequence in context: A176396 A198502 A244858 * A064925 A173273 A084945
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Jul 07 2022, following a suggestion from Alexander Wajnberg.
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 May 12 23:28 EDT 2024. Contains 372497 sequences. (Running on oeis4.)