Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Revision History for A347027

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
a(1) = 1; a(n) = a(n-1) + 2 * a(floor(n/2)).
(history; published version)
#11 by Alois P. Heinz at Fri Jun 24 19:45:25 EDT 2022
STATUS

proposed

approved

#10 by Sean A. Irvine at Fri Jun 24 19:44:27 EDT 2022
STATUS

editing

proposed

#9 by Sean A. Irvine at Fri Jun 24 19:44:24 EDT 2022
CROSSREFS

Partial sums of A039722.

STATUS

approved

editing

#8 by Peter Luschny at Thu Jun 09 02:29:47 EDT 2022
STATUS

reviewed

approved

#7 by Michel Marcus at Thu Jun 09 00:26:19 EDT 2022
STATUS

proposed

reviewed

#6 by Chai Wah Wu at Wed Jun 08 11:02:51 EDT 2022
STATUS

editing

proposed

#5 by Chai Wah Wu at Wed Jun 08 11:02:47 EDT 2022
PROG

(Python)

from collections import deque

from itertools import islice

def A347027_gen(): # generator of terms

aqueue, f, b, a = deque([3]), True, 1, 3

yield from (1, 3)

while True:

a += 2*b

yield a

aqueue.append(a)

if f: b = aqueue.popleft()

f = not f

A347027_list = list(islice(A347027_gen(), 40)) # Chai Wah Wu, Jun 08 2022

STATUS

approved

editing

#4 by Susanna Cuyler at Wed Aug 11 21:38:25 EDT 2021
STATUS

proposed

approved

#3 by Ilya Gutkovskiy at Wed Aug 11 17:37:13 EDT 2021
STATUS

editing

proposed

#2 by Ilya Gutkovskiy at Wed Aug 11 16:47:35 EDT 2021
NAME

allocated for Ilya Gutkovskiy

a(1) = 1; a(n) = a(n-1) + 2 * a(floor(n/2)).

DATA

1, 3, 5, 11, 17, 27, 37, 59, 81, 115, 149, 203, 257, 331, 405, 523, 641, 803, 965, 1195, 1425, 1723, 2021, 2427, 2833, 3347, 3861, 4523, 5185, 5995, 6805, 7851, 8897, 10179, 11461, 13067, 14673, 16603, 18533, 20923, 23313, 26163, 29013, 32459, 35905, 39947, 43989

OFFSET

1,2

FORMULA

G.f. A(x) satisfies: A(x) = (x + 2 * (1 + x) * A(x^2)) / (1 - x).

a(n) = 1 + 2 * Sum_{k=2..n} a(floor(k/2)).

MATHEMATICA

a[1] = 1; a[n_] := a[n] = a[n - 1] + 2 a[Floor[n/2]]; Table[a[n], {n, 1, 47}]

nmax = 47; A[_] = 0; Do[A[x_] = (x + 2 (1 + x) A[x^2])/(1 - x) + O[x]^(nmax + 1) // Normal, nmax + 1]; CoefficientList[A[x], x] // Rest

CROSSREFS
KEYWORD

allocated

nonn

AUTHOR

Ilya Gutkovskiy, Aug 11 2021

STATUS

approved

editing