login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A046828
Digits of n^2 include digits of n, n does not end in 0.
1
1, 5, 6, 11, 25, 27, 63, 64, 74, 76, 95, 96, 101, 105, 125, 139, 142, 205, 255, 261, 275, 277, 278, 285, 305, 364, 371, 376, 405, 421, 441, 463, 472, 493, 497, 501, 502, 503, 504, 505, 506, 507, 508, 509, 523, 524, 525, 593, 601, 602, 603, 605, 625, 631, 642
OFFSET
1,2
MATHEMATICA
Select[Range[642], Count[Table[DigitCount[#^2, 10, k] - DigitCount[#, 10, k], {k, Union[x = IntegerDigits[#]]}], _?Negative] == 0 && Last[x] != 0 &] (* Jayanta Basu, Jun 29 2013 *)
CROSSREFS
Sequence in context: A039918 A020685 A275492 * A328095 A046830 A042493
KEYWORD
nonn,base
STATUS
approved