OFFSET
1,1
COMMENTS
If there are several maximal digits, first from left is omitted.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
filter:= proc(p) local r, q, L, j;
if not isprime(p) then return false fi;
L:= convert(p, base, 10);
r:= max(L);
for j from nops(L) by -1 do
if L[j] = r then q:= p mod 10^(j-1) + floor(p/10^j)*10^(j-1); return isprime(q) fi
od;
end proc;
MATHEMATICA
omit[d_, list_] := Module[{aux = {}, len = Length[list]}, Do[If[list[[i]] == d, none, aux = Join[aux, {list[[i]]}]], {i, len}]; aux]; maxomit[n_] := omit[Max[IntegerDigits[Prime[n]]], IntegerDigits[Prime[n]]]; convert[lis_] := Sum[Reverse[lis][[i]] 10^(i - 1), {i, 1, Length[lis]}]; Table[If[PrimeQ[convert[maxomit[n]]], Prime[n], 0], {n, 1, 300}] //Union //Rest (* Jose Grau, Feb 17 2010 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Zak Seidov, Jan 27 2005
STATUS
approved