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.

A073676 Rearrangement of odd numbers not divisible by 5 such that every right concatenation of terms is a prime.

This page as a plain text file.
%I A073676 #7 Dec 05 2013 19:55:31
%S A073676 3,1,7,21,23,19,33,9,39,27,59,43,51,47,117,61,287,97,129,83,49,17,171,
%T A073676 157,107,91,29,109,191,397,221,103,63,99,123,321,149,207,393,699,133,
%U A073676 539,93,387,309,273,79,1121,249,457,243,213,137,643,443,693,67,1023,381,623,939,169,663,89,153,679,227,1027
%N A073676 Rearrangement of odd numbers not divisible by 5 such that every right concatenation of terms is a prime.
%C A073676 The number 11 finally appears as a(201).
%e A073676 3,31,3119,311951,31195117 are all prime.
%t A073676 used={3}; num=3; Do[n=1; d=IntegerDigits[num]; While[MemberQ[used,n] || !PrimeQ[newNum=FromDigits[Join[d,IntegerDigits[n]]]], n=n+2]; AppendTo[used,n]; num=newNum, {50}]; used
%K A073676 base,nonn
%O A073676 1,1
%A A073676 _Amarnath Murthy_, Aug 11 2002
%E A073676 Corrected and extended by _T. D. Noe_, Jan 25 2011