cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A062398 Numbers such that the product of the digits and the sum of the digits are squares.

This page as a plain text file.
%I A062398 #19 Dec 05 2024 17:58:44
%S A062398 1,4,9,10,22,40,88,90,100,103,108,130,144,180,202,207,220,270,301,306,
%T A062398 310,360,400,405,414,441,450,466,504,540,603,630,646,664,702,709,720,
%U A062398 790,801,808,810,880,889,898,900,907,970,988,1000,1003,1008,1012,1017
%N A062398 Numbers such that the product of the digits and the sum of the digits are squares.
%H A062398 Harry J. Smith, <a href="/A062398/b062398.txt">Table of n, a(n) for n = 1..1000</a>
%e A062398 144 belongs to the sequence as sum of digits = 9 and the product of the digits = 16.
%t A062398 pdsdQ[n_]:=Module[{idn=IntegerDigits[n]},IntegerQ[Sqrt[Total[idn]]] && IntegerQ[Sqrt[Times@@idn]]]; Select[Range[1100],pdsdQ] (* _Harvey P. Dale_, Aug 20 2012 *)
%o A062398 (PARI) isok(k)={my(d=digits(k)); issquare(vecsum(d)) && issquare(vecprod(d))} \\ _Harry J. Smith_, Aug 07 2009
%Y A062398 Intersection of A028839 and A174800.
%K A062398 nonn,base,easy
%O A062398 1,2
%A A062398 _Amarnath Murthy_, Jun 28 2001
%E A062398 Corrected and extended by _Erich Friedman_, Jul 02 2001