login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

a(0) = a(1) = a(2) = a(3) = a(4) = a(5) = a(6) = 1; for n>6, a(n) = ( a(n-1)+a(n-3)+a(n-5) )*( a(n-2)+a(n-4)+a(n-6) ) / a(n-7).
1

%I #54 Sep 08 2022 08:46:17

%S 1,1,1,1,1,1,1,9,33,385,13825,5474305,75873853441,415386585427968001,

%T 3501887406773528570406162401,

%U 44079910680970588907541344275243042224979209,400942556117903539711475671972145122347091674105174721165559627509313

%N a(0) = a(1) = a(2) = a(3) = a(4) = a(5) = a(6) = 1; for n>6, a(n) = ( a(n-1)+a(n-3)+a(n-5) )*( a(n-2)+a(n-4)+a(n-6) ) / a(n-7).

%H Seiichi Manyama, <a href="/A275695/b275695.txt">Table of n, a(n) for n = 0..21</a>

%F a(n) = (8-4*(-1)^n)*a(n-1)*a(n-3)*a(n-5) - a(n-2) - a(n-4) - a(n-6).

%t RecurrenceTable[{a[n] == (a[n - 1] + a[n - 3] + a[n - 5]) (a[n - 2] + a[n - 4] + a[n - 6])/a[n - 7], a[0] == a[1] == a[2] == a[3] == a[4] == a[5] == a[6] == 1}, a, {n, 0, 16}] (* _Michael De Vlieger_, Aug 25 2016 *)

%t nxt[{a_,b_,c_,d_,e_,f_,g_}]:={b,c,d,e,f,g,((g+e+c)(f+d+b))/a}; NestList[ nxt,{1,1,1,1,1,1,1},20][[All,1]] (* _Harvey P. Dale_, May 04 2019 *)

%o (PARI) a(n) = if (n <=6, 1, (a(n-1)+a(n-3)+a(n-5))*(a(n-2)+a(n-4)+a(n-6))/a(n-7)); \\ _Michel Marcus_, Aug 25 2016

%o (Ruby)

%o def A(m, n)

%o a = Array.new(2 * m + 1, 1)

%o ary = [1]

%o while ary.size < n + 1

%o i = (1..m).inject(0){|s, i| s + a[2 * i - 1]} * (1..m).inject(0){|s, i| s + a[2 * i]}

%o break if i % a[0] > 0

%o a = *a[1..-1], i / a[0]

%o ary << a[0]

%o end

%o ary

%o end

%o def A275695(n)

%o A(3, n)

%o end # _Seiichi Manyama_, Aug 27 2016

%o (Magma) I:=[1,1,1,1,1,1,1]; [n le 7 select I[n] else (Self(n-1) + Self(n-3) + Self(n-5))*(Self(n-2) + Self(n-4) + Self(n-6))/Self(n-7): n in [1..17]]; // _G. C. Greubel_, Feb 21 2018

%Y Cf. A006723, A276130.

%K nonn

%O 0,8

%A _Bruno Langlois_, Aug 21 2016