Gọi số tự nhiên đó là \(x\).
Thì số đó sẽ có dạng: \(x=151\times a+42,x=152\times b+29\), \(a\ge b\).
Ta có:
\(151\times a+42=152\times b+29\)
\(\Leftrightarrow151\times\left(a-b\right)=b-13\)
Với \(a-b=0\Rightarrow b=13\Rightarrow x=2005\).
Với \(a-b\ge1\Rightarrow b-13\ge151\Leftrightarrow b\ge164\Leftrightarrow x\ge152\times164+29=24957\)không thỏa mãn.
Vậy số cần tìm là \(2005\).