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!)
A138414 A bisection of A000957. 2
1, 1, 6, 57, 622, 7338, 91144, 1174281, 15548694, 210295326, 2892818244, 40347919626, 569274150156, 8110508473252, 116518215264492, 1686062250699433, 24552388991392230, 359526085719652662, 5290709340633314596, 78201907647506243758, 1160507655117628665252, 17283862221822154612428, 258257655550682547281952 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = A000957(2*n+1).
MAPLE
b:= proc(n) option remember; `if`(n<3, n*(2-n),
((7*n-12)*b(n-1)+(4*n-6)*b(n-2))/(2*n))
end:
a:= n-> b(2*n+1):
seq(a(n), n=0..25); # Alois P. Heinz, Apr 26 2023
PROG
(PARI)
x='x+O('x^100); v=Vec((1-sqrt(1-4*x))/(3-sqrt(1-4*x)));
vector(#v\2, n, v[2*n-1]) /* show terms */
(Python)
from itertools import count, islice
def A138414_gen(): # generator of terms
yield 1
a, c = 0, 1
for n in count(1, 2):
yield (a:=(c:=c*((n<<2)+2)//(n+2))-a>>1)
a=(c:=c*((n+1<<2)+2)//(n+3))-a>>1
A138414_list = list(islice(A138414_gen(), 20)) # Chai Wah Wu, Apr 26 2023
CROSSREFS
Sequence in context: A371521 A246235 A213105 * A349363 A130565 A124556
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 08 2008
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 24 14:54 EDT 2024. Contains 371960 sequences. (Running on oeis4.)