

A030175


When squared gives number composed of digits {1,2,3}.


9



1, 11, 111, 36361, 363639, 461761, 3636361, 34815389, 362397739, 176412364139, 57637950363639, 3497458093147239, 56843832676142723489, 557963558954625926861
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


LINKS

Table of n, a(n) for n=1..14.
P. De Geest, Squares containing at most three distinct digits, Index entries for related sequences
Author?, Source(txt)
Hisanori Mishima, Sporadic tridigital solutions
Eric Weisstein's World of Mathematics, Square Number.
Index entries for sequences related to squares.


FORMULA

a(n)^2 = A030174(n).  M. F. Hasler, Nov 16 2017


MATHEMATICA

Do[ If[ Union[ Join[{1, 2, 3}, IntegerDigits[n^2] ] ] == {1, 2, 3}, Print[n] ], {n, 0, 10^9}]


PROG

(PARI) lista(nn) = for(n=1, nn, if(setminus(vecsort(digits(n^2), , 8), [1, 2, 3])==[], print1(n, ", "))) \\ Iain Fox, Nov 16 2017


CROSSREFS

Cf. A030174; A000290.
Cf. A006716 = A027675^2, A030176 = A030177^2, A058411^2 = A058412, ..., A058473^2 = A058474.
Cf. A136808, A136809, ..., A137147: n and n^2 have digits {...}.
Cf. A277959^2 = A277946 and A277960^2 = A277947: squares whose largest digit is 2 resp. 3.
Sequence in context: A131293 A108047 A144784 * A263805 A058949 A119742
Adjacent sequences: A030172 A030173 A030174 * A030176 A030177 A030178


KEYWORD

nonn,base


AUTHOR

Patrick De Geest


EXTENSIONS

More terms from Patrick De Geest, Mar 01 2000
More terms from C. Ronaldo (aga_new_ac(AT)hotmail.com), Jan 14 2005
Offset corrected by Iain Fox, Nov 16 2017


STATUS

approved



