OFFSET
1,1
COMMENTS
Sequence is infinite.
EXAMPLE
135 belongs to this sequence as 1*3*5 + 1 = 16 is a square.
MAPLE
q:= n-> (t-> t>1 and issqr(t))(1+mul(i, i=convert(n, base, 10))):
select(q, [$1..350])[]; # Alois P. Heinz, Nov 20 2025
MATHEMATICA
pdsQ[n_]:=FreeQ[IntegerDigits[n], 0]&&IntegerQ[ Sqrt[ 1+Times@@ IntegerDigits[ n]]]; Select[Range[300], pdsQ] (* Harvey P. Dale, Jul 13 2021 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Apr 04 2003
EXTENSIONS
Corrected and extended by Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Apr 06 2003
Definition (Name) clarified by Harvey P. Dale, Jul 13 2021
Offset corrected and name further clarified by Sean A. Irvine, Nov 20 2025
STATUS
approved
