|
Search: id:A036931
|
|
|
| A036931 |
|
Smallest n-digit prime containing only digits 1 and 4, or 0 if no such prime exists. |
|
+0 2
|
|
| 0, 11, 0, 4111, 11411, 0, 1114111, 11111141, 0, 1111111411, 11111141411, 0, 1111111111441, 11111111111411, 0, 1111111111114441, 11111111111414411, 0, 1111111111111111111, 11111111111111414441, 0, 1111111111111111144141
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
For any positive integer k, a(3k) = 0 as any 3k-digit number containing only digits 1 or 4 or both has a digit-sum divisible by 3 and thus the number is divisible by 3. - Rick L. Shepherd (rshepherd2(AT)hotmail.com), Feb 08 2004
|
|
FORMULA
|
a(3k) = 0 and a(A004023(k)) = (10^A004023(k) - 1)/9 = A004022(k) for all positive integers k. - Rick L. Shepherd (rshepherd2(AT)hotmail.com), Feb 08 2004
|
|
CROSSREFS
|
Cf. A036229, A020452, A036304.
Cf. A004022 (repunit primes), A004023.
Sequence in context: A075361 A073864 A073865 this_sequence A165399 A157712 A158215
Adjacent sequences: A036928 A036929 A036930 this_sequence A036932 A036933 A036934
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
Patrick De Geest (pdg(AT)worldofnumbers.com), Jan 04 1999.
|
|
EXTENSIONS
|
More terms from Rick L. Shepherd (rshepherd2(AT)hotmail.com), Feb 08 2004
|
|
|
Search completed in 0.002 seconds
|