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!)
A276271 a(0) = a(1) = a(2) = a(3) = 1; for n > 3, a(n) = (a(n-1)^2+a(n-2)^2+a(n-3)^2+a(n-1)+a(n-2)+a(n-3))/a(n-4). 2

%I #17 Oct 24 2018 08:07:18

%S 1,1,1,1,6,46,2206,4870846,3954191749561,339905052007042640998641,

%T 52373274877565894156748130733610185904753361,

%U 563138297002425210235477817802336090254190075906443582099838858026136728896536841

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

%H Seiichi Manyama, <a href="/A276271/b276271.txt">Table of n, a(n) for n = 0..15</a>

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

%F a(n) ~ 2^(-3/2) * c^(d^n), where c = 1.2578918597... and d = A058265 = 1.83928675521416... = (1 + (19 + 3*sqrt(33))^(1/3) + (19 - 3*sqrt(33))^(1/3))/3. - _Vaclav Kotesovec_, Mar 20 2017

%t nxt[{a_,b_,c_,d_}]:={b,c,d,(b^2+c^2+d^2+b+c+d)/a}; NestList[nxt,{1,1,1,1},12][[All,1]] (* _Harvey P. Dale_, Mar 10 2017 *)

%o (Ruby)

%o def A(m, n)

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

%o ary = [1]

%o while ary.size < n + 1

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

%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 A276271(n)

%o A(4, n)

%o end

%Y Cf. A101879, A276122.

%K nonn

%O 0,5

%A _Seiichi Manyama_, Aug 26 2016

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 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)