OFFSET
1,1
COMMENTS
Almost all terms will start with 2, 4, or 8.
Just under 69% of the first 20000 terms begin with 2, 4, or 8. - Harvey P. Dale, Jul 29 2016
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..10000
MAPLE
A054055 := proc(n) max(op(convert(n, base, 10))) ; end proc: A000030 := proc(n) op(-1, convert(n, base, 10)) ; end proc: isA158203 := proc(n) if isprime(n) then A054055(n)+A000030(n) ; isprime(%) ; else false; end if; end: for i from 1 to 2000 do if isA158203( i) then printf("%d, ", i) ; fi; od: # R. J. Mathar, Oct 22 2009
MATHEMATICA
sflQ[n_]:=Module[{idn=IntegerDigits[n]}, PrimeQ[idn[[1]]+Max[idn]]]; Select[Prime[Range[5, 500]], sflQ] (* Harvey P. Dale, Jul 29 2016 *)
CROSSREFS
KEYWORD
nonn,base,easy,less
AUTHOR
Juri-Stepan Gerasimov, Mar 13 2009
STATUS
approved