Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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!)
A364271 Initial digit of n^((n + 1)^(n + 2)). 1
0, 1, 2, 3, 1, 7, 1, 7, 2, 8, 1, 1, 1, 2, 7, 1, 9, 1, 2, 2, 4, 5, 1, 7, 3, 2, 4, 1, 2, 6, 2, 1, 2, 2, 1, 8, 1, 6, 1, 5, 2, 8, 8, 3, 9, 3, 4, 2, 4, 3, 1, 6, 2, 1, 6, 6, 9, 1, 9, 2, 5, 2, 9, 9, 6, 8, 4, 2, 7, 7, 6, 1, 2, 2, 3, 1, 2, 6, 1, 1, 6, 1, 1, 2, 3, 5, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
Kevin Ryde, C code using MPFR
FORMULA
a(n) = floor(t / 10^floor(log_10(t))) where t = n^((n + 1)^(n + 2)).
a(n) = A000030(A030198(n)).
EXAMPLE
a(2) = 2, since 2^((2 + 1)^(2 + 2)) = 2417851639229258349412352.
MATHEMATICA
Join[{0}, Table[Floor[n^((n+1)^(n+2))/10^Floor[Log10[n^((n+1)^(n+2))]]], {n, 86}]]
PROG
(C) See links.
CROSSREFS
Cf. A000030, A030198, A365689 (final digit).
Sequence in context: A232435 A114858 A193491 * A352062 A263340 A114583
KEYWORD
nonn,base
AUTHOR
Marco Ripà, Oct 20 2023
EXTENSIONS
More terms from Kevin Ryde, Oct 27 2023
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 August 18 22:06 EDT 2024. Contains 375284 sequences. (Running on oeis4.)