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!)
A257498 Numbers n such that the decimal expansions of both n and n^2 have 3 as the digit with the smallest value and 8 as the digit with the largest value. 7
7378, 66834, 67438, 67738, 73874, 86356, 577378, 577438, 586374, 658388, 666834, 667438, 676438, 683874, 683876, 684438, 688374, 738474, 738538, 743878, 744538, 744738, 747378, 747438, 763844, 764438, 765738, 766384, 863388, 863474, 873874, 874378, 875434 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Chai Wah Wu, Table of n, a(n) for n = 1..10000

MATHEMATICA

fQ[n_] := Block[{c = DigitCount@ n}, And[Plus @@ Take[c, {1, 2}] == 0, Plus @@ Take[c, {9, 10}] == 0, c[[3]] > 0, c[[8]] > 0]]; Select[Range@ 1000000, fQ@ # && fQ[#^2] &] (* Michael De Vlieger, May 05 2015 *)

PROG

(PARI) is(n) = vecmin(digits(n))==3 && vecmin(digits(n^2))==3 && vecmax(digits(n))==8 && vecmax(digits(n^2))==8

CROSSREFS

Cf. A256630, A256631, A256633, A256634, A256708, A256709, A256889, A257197, A257210, A257211, A256601, A257310, A249915, A257123, A257368, A257485, A257486, A238553, A257534.

Sequence in context: A219084 A284925 A128478 * A043589 A043806 A043824

Adjacent sequences:  A257495 A257496 A257497 * A257499 A257500 A257501

KEYWORD

nonn,base

AUTHOR

Felix Fröhlich, Apr 27 2015

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 June 28 21:04 EDT 2022. Contains 354907 sequences. (Running on oeis4.)