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.

A032628 Primes that are concatenations of n with n + 5.

This page as a plain text file.
%I A032628 #9 Jul 30 2015 12:08:59
%S A032628 1217,1621,1823,2833,4651,6469,7681,7883,8287,8893,102107,126131,
%T A032628 132137,138143,148153,154159,178183,184189,186191,196201,208213,
%U A032628 214219,226231,228233,234239,246251,264269,282287,288293,298303
%N A032628 Primes that are concatenations of n with n + 5.
%H A032628 Harvey P. Dale, <a href="/A032628/b032628.txt">Table of n, a(n) for n = 1..600</a>
%t A032628 concatQ[n_]:=Module[{idn=IntegerDigits[n],len},len=Length[idn];EvenQ[ len]&&FromDigits[Take[idn,-len/2]]-FromDigits[Take[idn,len/2]]==5]; Select[Prime[Range[30000]],concatQ] (* _Harvey P. Dale_, Jul 30 2015 *)
%Y A032628 Cf. A032610, A032620.
%K A032628 nonn,base
%O A032628 1,1
%A A032628 _Patrick De Geest_, May 15 1998
%E A032628 Edited by _Charles R Greathouse IV_, Apr 28 2010