cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A084200 LeastCommonMultiple{q+1: q prime, q < prime(n), q+1 divides prime(n)+1}.

This page as a plain text file.
%I A084200 #10 Aug 14 2024 08:33:48
%S A084200 1,1,3,4,12,1,6,4,24,6,8,1,42,4,24,18,60,1,4,72,1,40,84,90,14,6,8,108,
%T A084200 1,114,32,132,6,140,30,152,1,4,168,6,180,14,96,1,18,40,4,224,228,1,18,
%U A084200 240,1,252,6,264,270,136,1,6,4,294,308,312,1,6,4,1,348,14,6,360,8,1
%N A084200 LeastCommonMultiple{q+1: q prime, q < prime(n), q+1 divides prime(n)+1}.
%H A084200 Matthew House, <a href="/A084200/b084200.txt">Table of n, a(n) for n = 1..10000</a>
%o A084200 (Python)
%o A084200 from math import lcm
%o A084200 from sympy import sieve
%o A084200 def a(n):
%o A084200     pn = sieve[n]
%o A084200     return lcm(*[q+1 for q in sieve.primerange(2, pn) if (pn+1)%(q+1)==0])
%o A084200 print([a(n) for n in range(1, 100)]) # _Michael S. Branicky_, Aug 13 2024
%Y A084200 Cf. A084196, A082539, A084197.
%K A084200 nonn
%O A084200 1,3
%A A084200 _Reinhard Zumkeller_, May 18 2003
%E A084200 Definition and terms corrected by _Matthew House_, Aug 13 2024