SOLUTION: Let A, B, and C represent distinct digits. A four-digit positive integer of the form ABCA has the property that the two-digit integers AB, BC, and CA are all primes. Compute the nu

Algebra.Com
Question 1068756: Let A, B, and C represent distinct digits. A four-digit positive integer of the form ABCA has the property that the two-digit integers AB, BC, and CA are all primes. Compute the number of all such four-digit integers ABCA.
Found 2 solutions by Edwin McCravy, KMST:
Answer by Edwin McCravy(20056)   (Show Source): You can put this solution on YOUR website!
All the 2 digit prime numbers are:

11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47,
53, 59, 61, 67, 71, 73, 79, 83, 89, 97


All 4-digit numbers of the form ABCA, where A,B, and C are
all different and AB, BC, and CA are all prime numbers are:

1371, 1731, 1971, 3173, 3713, 7137, 7197, 7317, 9719,

Edwin


Answer by KMST(5328)   (Show Source): You can put this solution on YOUR website!
The even digits cannot be used,
because they would cause at least one of the 2-digit sequences to be even.
Similarly, the digit 5 cannot be used,
because it would cause at least one of the 2-digit sequences to be a multiple of 5.
The digits 3 and 9 cannot be used at the same time,
because they would cause at least one of the 2-digit sequences to be a multiple of 3 (39 or 93).
The two-digit sequences made with 1, 3, and 7 are all (all 6) in the list of prime numbers,
so 3-digit ABC sequences can be made with 1, 3, and 7.
Using 9, along with 1 and 7, we can also make 3-digit ABC sequences, .
but of the resulting ABCA sequences contain the non- prime 2-digit number (at the beginning, middle or end).
So there are four-digit numbers that satisfy the condition in the problem.

RELATED QUESTIONS

A positive five –digit integer is in the form ab,cba; where a, b and c are each distinct... (answered by CharlesG2)
find numbers a,b and c such that a raise to the power b x c raise to the power a =... (answered by Edwin McCravy)
Consider any positive three-digit integer that has all of its digits distinct and none... (answered by ankor@dixie-net.com)
let k be an integer and p is a prime such that the quadratic equation x^2+kx+p=0 has two... (answered by ankor@dixie-net.com)
Let b be a positive integer. If you determined the sum of b factorial (b!) where b goes... (answered by richard1234)
A two-digit positive integer x has the property that when 109 is divided by x, the... (answered by Edwin McCravy)
1) There exists a 5 digit number N with distinct and non-zero digits such that it equals... (answered by Edwin McCravy)
There is a two-digit number whose digits are the same, and has got the following... (answered by josgarithmetic)
There is a two-digit number whose digits are the same, and has got the following... (answered by josgarithmetic)