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!)
A076602 a(1)=7, a(n_even)=(a(n-1)^2-1)/2; a(n_odd)=a(n-1)+1. 1

%I #10 May 11 2018 01:41:59

%S 7,24,25,312,313,48984,48985,1199765112,1199765113,719718163185951384,

%T 719718163185951385,258997117209879873736794713791709112,

%U 258997117209879873736794713791709113,33539753361514126736178628392779244498735703225085922505721228803623384

%N a(1)=7, a(n_even)=(a(n-1)^2-1)/2; a(n_odd)=a(n-1)+1.

%C {7, 24, 25}, {25, 312, 313}, {313, 48984, 48985}... are sides {a<b<c} of the right triangles, with hypotenuse c=b+1.

%t nxt[{a_,b_}]:={a+1,If[OddQ[a],(b^2-1)/2,b+1]}; Transpose[NestList[nxt,{1,7},15]][[2]] (* _Harvey P. Dale_, Dec 13 2011 *)

%K easy,nonn

%O 1,1

%A _Zak Seidov_, Oct 21 2002

%E More terms from _Harvey P. Dale_, Dec 13 2011

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 19 16:21 EDT 2024. Contains 371794 sequences. (Running on oeis4.)