|
Search: id:A068692
|
|
|
| A068692 |
|
Largest n-digit prime with all even digits except for the least significant digit. |
|
+0 3
|
|
| 7, 89, 887, 8887, 88883, 888887, 8888861, 88888883, 888888887, 8888888809, 88888888801, 888888888887, 8888888888849, 88888888888889, 888888888888883, 8888888888888647, 88888888888888889, 888888888888888809
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
MAPLE
|
for n from 1 to 40 do a := prevprime((10^n-1)/9*8+2):b := convert(a, base, 10):c := true:for i from 2 to nops(b) do if((b[i] mod 2)>0) then c := false:end if:end do:while(c=false) do a := prevprime(a):b := convert(a, base, 10):c := true:for i from 2 to nops(b) do if((b[i] mod 2)>0) then c := false:end if:end do:end do:q[n] := a:end do:seq(q[k], k=1..40);
|
|
CROSSREFS
|
Cf. A068690, A068691.
Sequence in context: A142204 A071363 A089394 this_sequence A053302 A068877 A121044
Adjacent sequences: A068689 A068690 A068691 this_sequence A068693 A068694 A068695
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Mar 03 2002
|
|
EXTENSIONS
|
More terms from Sascha Kurz (sascha.kurz(AT)uni-bayreuth.de), Mar 26 2002
|
|
|
Search completed in 0.002 seconds
|