|
| |
|
|
A054037
|
|
Numbers n such that n^2 contains exactly 9 different digits.
|
|
11
| |
|
|
10124, 10128, 10136, 10214, 10278, 11826, 12363, 12543, 12582, 12586, 13147, 13268, 13278, 13343, 13434, 13545, 13698, 14098, 14442, 14676, 14743, 14766, 15353, 15681, 15963, 16549, 16854, 17252, 17529, 17778, 17816, 18072, 19023
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
COMMENTS
| There are three prime numbers {13147, 20089, 21397} and corresponding squares {172843609, 403567921, 457831609} necessarily contain zero (otherwise n and n^2 are divisble by 3). - Moshe Levin, Jan 18 2012
|
|
|
LINKS
| Moshe Levin, Table of n, a(n) for n = 1..83 (all 83 terms).
|
|
|
MAPLE
| f := []; for i from 0 to 200 do if nops({op(convert(i^2, base, 10))})=9 then f := [op(f), i] fi; od; f;
|
|
|
MATHEMATICA
| okQ[n_] := Module[{n2=n^2}, Max[DigitCount[n2, 10]]==1 && IntegerLength[n2]==9]; Select[Range[20000], okQ] (* From Harvey P. Dale, Mar 20 2011 *)
|
|
|
CROSSREFS
| Cf. A016069, A054031, A054032, A054033, A054034, A054035, A054036, A054038, A054039.
Sequence in context: A161786 A157711 A159863 * A023066 A172810 A153139
Adjacent sequences: A054034 A054035 A054036 * A054038 A054039 A054040
|
|
|
KEYWORD
| nonn,base,fini,full
|
|
|
AUTHOR
| Asher Auel (asher.auel(AT)reed.edu) Feb 28 2000
|
| |
|
|