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.

A104644 a(n) is the smallest prime divisor of the number obtained from concatenation of the first n primes.

This page as a plain text file.
%I A104644 #32 Jul 22 2024 05:42:06
%S A104644 2,23,5,2357,7,23,11,7,61,3,17,7,25391,6899,1597,3,17,3,1019,3,17,211,
%T A104644 41378209,3,479,3,262343078386137703,3,107,3,643,3,7,3,13,3,107069,7,
%U A104644 14733071537,3,61911427,3,13,3,31,3,11,59,7,647,31,3,13,3,31517,43,3,19
%N A104644 a(n) is the smallest prime divisor of the number obtained from concatenation of the first n primes.
%H A104644 Sean A. Irvine, <a href="/A104644/b104644.txt">Table of n, a(n) for n = 1..113</a>
%H A104644 Dario Alejandro Alpern, <a href="https://www.alpertron.com.ar/ECM.HTM">Factorization using the Elliptic Curve Method</a>.
%H A104644 Hisanori Mishima, <a href="https://www.asahi-net.or.jp/~KC2H-MSM/mathland/matha1/sm_prime.htm">Smarandache consecutive prime sequences (n = 1 to 100)</a>.
%F A104644 a(n) = A020639(A019518(n)). - _Michel Marcus_, Aug 01 2017
%e A104644 n=5, concatenation of {2,3,5,7,11} is 235711=7*151*223, smallest prime factor is a(5)=7.
%t A104644 Map[FactorInteger[FromDigits@ #][[1, 1]] &, Rest@ FoldList[Join @@ {#1, IntegerDigits[#2]} &, {}, Prime@ Range@ 29]] (* _Michael De Vlieger_, Jul 31 2017 *)
%o A104644 (PARI) a(n) = vecmin(factor(eval(concat(concat([""], primes(n)))))[,1]); \\ _Michel Marcus_, Aug 01 2017
%Y A104644 Cf. A019518, A020639, A074809.
%K A104644 nonn,base
%O A104644 1,1
%A A104644 _Labos Elemer_, Mar 18 2005
%E A104644 a(29) and further terms from _Robert G. Wilson v_, Mar 18 2005
%E A104644 Edited by _Charles R Greathouse IV_, Apr 23 2010