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.

A098839 Smith square numbers.

Original entry on oeis.org

4, 121, 576, 729, 6084, 10201, 17424, 18496, 36481, 51529, 100489, 124609, 184041, 195364, 410881, 559504, 674041, 695556, 732736, 887364, 896809, 966289, 988036, 1038361, 1190281, 1238769, 1726596, 1852321, 2166784, 2975625, 3407716, 3613801, 3663396
Offset: 1

Views

Author

Shyam Sunder Gupta, Oct 10 2004

Keywords

Examples

			a(2) = 121 because 121 is a Smith number as well as a square.
		

Crossrefs

Cf. A006753.

Programs

  • Mathematica
    d[n_]:=IntegerDigits[n]; tr[n_]:=Transpose[FactorInteger[n]]; t={}; Do[If[!PrimeQ[n]&&Total[d[n]]==Total[d@tr[n][[1]]*tr[n][[2]],2],AppendTo[t,n]],{n,Range[2,1950]^2}]; t (* Jayanta Basu, Jun 04 2013 *)