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!)
A054033 Numbers n such that n^2 contains exactly 5 different digits. 10

%I #22 Oct 27 2023 22:00:46

%S 113,116,117,118,124,126,128,133,134,136,137,142,144,147,148,152,153,

%T 154,169,172,174,175,176,178,179,181,186,189,191,193,195,196,198,199,

%U 203,209,213,214,217,219,224,226,228,232,233,248,252,259,267,268,269

%N Numbers n such that n^2 contains exactly 5 different digits.

%C The first 66 terms are the only ones whose squares contain no repeated digits. - _Charles R Greathouse IV_, Feb 09 2015

%H Harvey P. Dale, <a href="/A054033/b054033.txt">Table of n, a(n) for n = 1..1000</a>

%p f := []; for i from 0 to 200 do if nops({op(convert(i^2,base,10))})=5 then f := [op(f),i] fi; od; f;

%t Select[Range[101,500],Count[DigitCount[#^2],0]==5&] (* _Harvey P. Dale_, Feb 08 2015 *)

%o (PARI) is(n)=#Set(digits(n^2))==5 \\ _Charles R Greathouse IV_, Feb 08 2015

%Y Cf. A016069, A054031, A054032, A054034, A054035, A054036, A054037, A054038, A054039.

%K nonn,base

%O 1,1

%A _Asher Auel_, Feb 29 2000

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 12:53 EDT 2024. Contains 371969 sequences. (Running on oeis4.)