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!)
A307612 Partial sums of the permutation A307485: one odd, two even, four odd, eight even, etc. 3
0, 1, 3, 7, 10, 15, 22, 31, 37, 45, 55, 67, 81, 97, 115, 135, 146, 159, 174, 191, 210, 231, 254, 279, 306, 335, 366, 399, 434, 471, 510, 551, 573, 597, 623, 651, 681, 713, 747, 783, 821, 861, 903, 947, 993, 1041, 1091, 1143, 1197, 1253, 1311, 1371, 1433, 1497, 1563, 1631, 1701, 1773, 1847 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
Orap Andrew a.k.a. Dalgerok, Codeforces Round #553 - C. Problem for Nazar, on Codeforces.com, April 2019
PROG
(PARI) A307612(n, s=1, S, t, i=1)=until(n<i*=2, S+=(s-1+t=min(n+1-i, i))*t; s=s\/2+i); S
CROSSREFS
Cf. A307485 (the "1 odd, 2 even, 4 odd..." permutation), A307612 (partial sums thereof).
Sequence in context: A320441 A353654 A143101 * A330160 A281642 A353427
KEYWORD
nonn
AUTHOR
M. F. Hasler, Apr 18 2019
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 25 11:39 EDT 2024. Contains 371969 sequences. (Running on oeis4.)