The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A136836 Numbers k such that k and k^2 use only the digits 0, 1, 2 and 9. 3
0, 1, 10, 11, 100, 101, 110, 1000, 1001, 1010, 1011, 1100, 1101, 10000, 10001, 10010, 10011, 10100, 10110, 11000, 11001, 11010, 100000, 100001, 100010, 100011, 100100, 100101, 100110, 101000, 101001, 101100, 110000, 110001, 110010, 110100, 1000000, 1000001, 1000010, 1000011, 1000100 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Generated with DrScheme.
Comparison of b-files indicates that the first difference from A136831 is at the 1262nd entry. - R. J. Mathar Apr 29 2008
More precisely, A278038(18) = 10101, A136827(294) = 10110001101 resp. A136808(1262) = A136831(1262) = 101100000000000 are the first terms from where on these four sequences differ from the present one; a(1262) = 101090009991101 is also the first term containing a digit > 1. - M. F. Hasler, Nov 15 2017
LINKS
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
101090009991101^2 = 10219190120000900002099192201.
MATHEMATICA
With[{c={0, 1, 2, 9}}, Select[FromDigits/@Tuples[c, 7], SubsetQ[c, IntegerDigits[#^2]]&]] (* Harvey P. Dale, Feb 11 2024 *)
CROSSREFS
Cf. A136808, A136809, A136810, ..., A137147 for other digit combinations.
See also A058412 = A058411^2: squares having only digits {0,1,2}, A277946 = A277959^2 = squares whose largest digit is 2.
The first 1261 terms are also a subsequence of A278038 (binary numbers without '111'), in turn a subsequence of the binary numbers A007088.
Sequence in context: A278038 A136832 A136808 * A136827 A136831 A204009
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
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 May 16 00:16 EDT 2024. Contains 372549 sequences. (Running on oeis4.)