login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A054032 Numbers n such that n^2 contains exactly 4 different digits. 10
32, 33, 36, 37, 42, 43, 44, 48, 49, 51, 52, 53, 54, 55, 57, 59, 61, 64, 66, 69, 71, 72, 73, 74, 78, 79, 82, 84, 86, 87, 89, 93, 95, 96, 98, 99, 103, 104, 105, 106, 112, 114, 115, 123, 125, 127, 130, 132, 135, 138, 139, 140, 143, 145, 146, 151, 155, 156, 157, 158 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
f := []; for i from 0 to 200 do if nops({op(convert(i^2, base, 10))})=4 then f := [op(f), i] fi; od; f;
MATHEMATICA
t = {}; n = -1; While[Length[t] < 50, n++; If[Length[Union[IntegerDigits[n^2]]] == 4, AppendTo[t, n]]] (* T. D. Noe, Apr 26 2013 *)
PROG
(PARI) is(n)=#Set(digits(n^2))==4 \\ Charles R Greathouse IV, Feb 11 2017
CROSSREFS
Sequence in context: A108927 A242956 A085259 * A134843 A134844 A151983
KEYWORD
nonn,base
AUTHOR
Asher Auel, Feb 29 2000
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)