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.

A020460 Primes that contain digits 2 and 9 only.

This page as a plain text file.
%I A020460 #17 Jun 30 2025 16:01:42
%S A020460 2,29,229,929,2999,9929,22229,99929,2222929,2229299,2292299,2299229,
%T A020460 2922229,2992229,2992999,2999299,2999999,9222229,9922229,9929929,
%U A020460 9929999,9999299,9999929,22229299,22292929,22299229,22929299,29229229,29229929
%N A020460 Primes that contain digits 2 and 9 only.
%H A020460 Jason Bard, <a href="/A020460/b020460.txt">Table of n, a(n) for n = 1..10000</a> (first 1000 terms from Vincenzo Librandi)
%t A020460 Flatten[Table[Select[FromDigits/@Tuples[{2,9},n],PrimeQ],{n,8}]] (* _Vincenzo Librandi_, Jul 27 2012 *)
%o A020460 (Magma) [p: p in PrimesUpTo(29229929) | Set(Intseq(p)) subset [2, 9]]; // _Vincenzo Librandi_, Jul 27 2012
%K A020460 nonn,base
%O A020460 1,1
%A A020460 _David W. Wilson_