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!)
A104863 a(n) = floor(sqrt(a(n-1)^2 + a(n-2)^2)), a(1)=10, a(2)=30. 3

%I #21 Sep 08 2022 08:45:17

%S 10,30,31,43,53,68,86,109,138,175,222,282,358,455,578,735,935,1189,

%T 1512,1923,2446,3111,3957,5033,6402,8143,10358,13175,16759,21317,

%U 27116,34491,43873,55807,70987,90297,114859,146103,185845,236398,300703,382500,486547,618897

%N a(n) = floor(sqrt(a(n-1)^2 + a(n-2)^2)), a(1)=10, a(2)=30.

%H Harvey P. Dale, <a href="/A104863/b104863.txt">Table of n, a(n) for n = 1..1000</a>

%F For n>=17, a(n) = a(n-2) + a(n-4) + 1 (conjectured). If true then for m>5, a(2*m+1) = 4*F(m) + 25*F(m+1) + 1 and a(2*m+2) = 8*F(m) + 30*F(m+1) + 1 with F(n) = A000045(n). - _Ralf Stephan_, Nov 15 2010

%t nxt[{a_,b_}]:={b,Floor[Sqrt[a^2+b^2]]}; Transpose[NestList[nxt,{10,30},60]][[1]] (* _Harvey P. Dale_, Jun 18 2013 *)

%o (Magma)

%o A104863:= func< n| n lt 3 select 10*(2*n-1) else Floor(Sqrt(Self(n-1)^2 +Self(n-2)^2)) >;

%o [A104863(n): n in [1..60]]; // _G. C. Greubel_, Jun 27 2021

%o (Sage)

%o @CachedFunction

%o def a(n): return 10*(2*n-1) if (n<3) else floor(sqrt(a(n-1)^2 + a(n-2)^2))

%o [a(n) for n in (1..60)] # _G. C. Greubel_, Jun 27 2021

%Y Cf. A104803, A104804, A104805, A104806, A104864.

%K nonn

%O 1,1

%A _Zak Seidov_, Mar 28 2005

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 May 6 18:59 EDT 2024. Contains 372297 sequences. (Running on oeis4.)