Kozma Prutkov is a fictional author invented by Alexei Konstantinovich Tolstoy and his cousins. A. K. Tolstoy lived earlier than Leo Tolstoy and was his second cousin. There also was Alexei Nikolayevich Tolstoy who lived in XX century. Easy to get confused.