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!)
A110139 a(n) = floor(n/2)^floor(n/2). 1
1, 1, 1, 1, 4, 4, 27, 27, 256, 256, 3125, 3125, 46656, 46656, 823543, 823543, 16777216, 16777216, 387420489, 387420489, 10000000000, 10000000000, 285311670611, 285311670611, 8916100448256, 8916100448256, 302875106592253 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
FORMULA
a(n) = (n/2)^(n/2)(1+(-1)^n)/2+((n-1)/2)^((n-1)/2)(1-(-1)^n)/2.
a(2n) = a(2n+1) = n^n = A000312(n).
PROG
(Python)
def A110139(n): return (m:=n>>1)**m # Chai Wah Wu, Jan 18 2023
CROSSREFS
Cf. A000312.
Sequence in context: A117429 A132650 A112953 * A078146 A066836 A227715
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Jul 13 2005
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 13:06 EDT 2024. Contains 375269 sequences. (Running on oeis4.)