login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Primes that contain only the digits (1, 4, 9).
8

%I #7 Sep 08 2022 08:46:13

%S 11,19,41,149,191,199,419,449,491,499,911,919,941,991,1499,1949,1999,

%T 4111,4441,4919,4999,9199,9419,9491,9941,9949,11119,11149,11411,11491,

%U 11941,14149,14411,14419,14449,19141,19441,19919,19949,19991,41141,41149,41411

%N Primes that contain only the digits (1, 4, 9).

%C A020452, A020457 and A020466 are subsequences.

%H Alois P. Heinz, <a href="/A260271/b260271.txt">Table of n, a(n) for n = 1..10000</a>

%t Select[Prime[Range[5 10^3]], Complement[IntegerDigits[#], {1, 4, 9}]=={} &]

%o (Magma) [p: p in PrimesUpTo(5*10^4) | Set(Intseq(p)) subset [1, 4, 9]];

%Y Cf. similar sequences listed in A260266.

%Y Cf. A020452, A020457, A020466.

%K nonn,easy,base

%O 1,1

%A _Vincenzo Librandi_, Jul 23 2015