login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


a(1) = 3 = 1*3; a(n) = smallest multiple of a(n-1) which is of the form k(k+2).
2

%I #13 May 06 2024 11:04:21

%S 3,15,120,360,5040,201600,256032000,4064251968000,

%T 1024126980000259968000,29365589556381243259975904529351552000,

%U 82421263677202543043706796882184010324019881962069201381742720000

%N a(1) = 3 = 1*3; a(n) = smallest multiple of a(n-1) which is of the form k(k+2).

%H Chai Wah Wu, <a href="/A068859/b068859.txt">Table of n, a(n) for n = 1..13</a>

%e 120 = 10*12 belongs to this sequence and 360 = 18*20 is the smallest such multiple of 120.

%o (Python)

%o from itertools import islice

%o from sympy import sqrt_mod_iter

%o def A068859_gen(): # generator of terms

%o a = 3

%o while True:

%o yield a

%o b = a+1

%o for d in sqrt_mod_iter(1,a):

%o if d==1 or d**2-1 == a:

%o d += a

%o if d < b:

%o b = d

%o a = b**2-1

%o A068859_list = list(islice(A068859_gen(),11)) # _Chai Wah Wu_, May 05 2024

%Y Cf. A068857, A068858.

%K nonn

%O 1,1

%A _Amarnath Murthy_, Mar 12 2002

%E More terms from _Sascha Kurz_, Mar 23 2002

%E Edited by _Don Reble_, Sep 12 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 21 18:35 EDT 2024. Contains 376087 sequences. (Running on oeis4.)