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!)
A320930 Numbers k such that 4^k starts with k. 7
10, 17, 556, 1771, 4695, 38537, 56969, 345797, 141419115, 1788191728 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
4^10 = 1048576 starts with 10, so 10 is in the sequence.
MAPLE
filter:= proc(n) local t, b;
t:= 4^n;
b:= ilog10(t) - ilog10(n);
floor(t/10^b) = n
end proc:
select(filter, [$1..10^5]);
PROG
(Python)
def afind(limit, startk=1):
k, pow4 = startk, 4**startk
for k in range(startk, limit+1):
if str(pow4).startswith(str(k)):
print(k, end=", ")
pow4 *= 4
afind(10**4) # Michael S. Branicky, Oct 17 2021
CROSSREFS
Sequence in context: A177185 A241281 A002744 * A337325 A156382 A214894
KEYWORD
nonn,base,more
AUTHOR
Robert Israel, Oct 24 2018
EXTENSIONS
a(8)-a(10) from Giovanni Resta, Oct 25 2018
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 April 25 13:12 EDT 2024. Contains 371969 sequences. (Running on oeis4.)