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.

A210144 a(n) = least integer m>1 such that the product of the first k primes for k=1,...,n are pairwise distinct modulo m.

Original entry on oeis.org

2, 3, 5, 11, 11, 23, 29, 37, 37, 41, 47, 47, 47, 47, 47, 73, 131, 131, 131, 131, 131, 151, 151, 151, 151, 199, 223, 223, 271, 271, 271, 281, 281, 281, 281, 281, 281, 281, 281, 281, 353, 353, 457, 457, 457, 457, 457, 457, 457, 457, 457, 641, 641, 641, 641, 641, 643, 643, 643, 643
Offset: 1

Views

Author

Zhi-Wei Sun, Mar 17 2012

Keywords

Comments

Conjecture: all the terms are primes and a(n) 1.

Examples

			a(3)=5 because 2, 2*3=6, 2*3*5=30 are distinct modulo m=5 but not distinct modulo m=2,3,4.
		

Crossrefs

Programs

  • Mathematica
    R[n_,m_]:=Union[Table[Mod[Product[Prime[j],{j,1,k}],m],{k,1,n}]]
    Do[Do[If[Length[R[n,m]]==n,Print[n," ",m];Goto[aa]],{m,2,Max[2,n^2]}];
    Print[n];Label[aa];Continue,{n,1,1000}]