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!)
A235719 Squares which have one or more occurrences of exactly four different digits. 3
1024, 1089, 1296, 1369, 1764, 1849, 1936, 2304, 2401, 2601, 2704, 2809, 2916, 3025, 3249, 3481, 3721, 4096, 4356, 4761, 5041, 5184, 5329, 5476, 6084, 6241, 6724, 7056, 7396, 7569, 7921, 8649, 9025, 9216, 9604, 9801, 10609, 10816, 11025, 11236, 12544, 12996 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The first term having a repeated digit is 10609.
LINKS
FORMULA
a(n) = A054032(n)^2.
EXAMPLE
5329 is in the sequence because 5329 = 73^2 and 5329 contains exactly four different digits: 2, 3, 5 and 9.
MATHEMATICA
Select[Range[150]^2, Length[Union[IntegerDigits[#]]]==4&] (* Harvey P. Dale, May 03 2018 *)
PROG
(PARI) s=[]; for(n=1, 300, if(#vecsort(eval(Vec(Str(n^2))), , 8)==4, s=concat(s, n^2))); s
CROSSREFS
Sequence in context: A217850 A023075 A084918 * A365583 A057370 A057421
KEYWORD
nonn,base
AUTHOR
Colin Barker, Jan 15 2014
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 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)