Puzzles/Arithmetical puzzles/Hens and Eggs/Solution

Where k is some solvable constant: