# Abababcb and perfect square puzzle

P is a base ten positive integer of the form abababcb, such that (P-1) is a perfect square ; where a, b and c denote three different digits from 0 to 9, with a being nonzero.

Determine all possible value(s) of P for which this is possible.

Last edited: