# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a053337 Showing 1-1 of 1 %I A053337 #9 Jun 13 2020 15:06:19 %S A053337 6,76,776,7776,67776,667776,6667776,66667776,766667776,6766667776, %T A053337 66766667776,666766667776,7666766667776,77666766667776, %U A053337 777666766667776,7777666766667776,77777666766667776,777777666766667776 %N A053337 a(n) contains n digits (either '6' or '7') and is divisible by 2^n. %H A053337 Ray Chandler, Table of n, a(n) for n = 1..1000 %F A053337 a(n)=a(n-1)+10^(n-1)*(6+[a(n-1)/2^(n-1) mod 2]) i.e. a(n) ends with a(n-1); if (n-1)-th term is divisible by 2^n then n-th term begins with a 6, if not then n-th term begins with a 7. %t A053337 Table[Select[FromDigits/@Tuples[{6,7},n],Divisible[#,2^IntegerLength[ #]]&], {n,18}]//Flatten (* _Harvey P. Dale_, Jul 10 2016 *) %Y A053337 Cf. A023409, A050621, A050622, A035014. %K A053337 base,nonn %O A053337 1,1 %A A053337 _Henry Bottomley_, Mar 06 2000 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE