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!)
A362100 Numbers k such that 8^k starts with k. 1
4, 10, 18, 652, 1299, 8225, 12949, 56230, 156277, 3227298, 144225157 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
filter:= proc(n) local d1, d2, t;
t:= 8^n;
d1:= ilog10(t);
d2:= ilog10(n);
floor(t/10^(d1-d2)) = n
end proc:
select(filter, [$1..10^5]); # Robert Israel, Apr 10 2023
PROG
(Python)
from itertools import count, islice
def A362100_gen(startvalue=1): # generator of terms >= startvalue
a = 1<<3*(m:=max(startvalue, 1))
for n in count(m):
if (s:=str(n))==str(a)[:len(s)]:
yield n
a <<= 3
A362100_list = list(islice(A362100_gen(), 5)) # Chai Wah Wu, Apr 10 2023
CROSSREFS
For k such that b^k starts with n, for b = 2,..., 9, see A100129, A362096, A320930, A362097-A362101.
Sequence in context: A318070 A073262 A353189 * A145731 A162958 A307395
KEYWORD
nonn,base,more
AUTHOR
N. J. A. Sloane, Apr 10 2023, based on an email from Keith F. Lynch.
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 4 10:52 EDT 2024. Contains 373096 sequences. (Running on oeis4.)