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!)
A049306 Numbers k such that k is a substring of 8^k. 3
4, 6, 7, 10, 13, 17, 18, 28, 31, 33, 36, 38, 42, 44, 47, 48, 49, 52, 54, 56, 58, 60, 63, 64, 67, 68, 69, 76, 77, 79, 81, 82, 83, 85, 86, 89, 90, 91, 94, 97, 112, 115, 124, 130, 135, 165, 173, 176, 178, 189, 193, 195, 206, 208, 215, 221, 225, 249, 251, 252, 253, 256 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Select[Range[300], SequenceCount[IntegerDigits[8^#], IntegerDigits[#]]>0&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Dec 16 2018 *)
PROG
(Python)
def ok(n): return str(n) in str(8**n)
print(list(filter(ok, range(257)))) # Michael S. Branicky, Aug 13 2021
CROSSREFS
Sequence in context: A363189 A277572 A107622 * A358731 A023635 A317649
KEYWORD
nonn,base,easy
AUTHOR
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 6 10:21 EDT 2024. Contains 373127 sequences. (Running on oeis4.)