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!)
A053313 a(n) contains n digits (either '2' or '9') and is divisible by 2^n. 1

%I #7 Jun 13 2020 14:46:28

%S 2,92,992,2992,92992,292992,2292992,22292992,222292992,2222292992,

%T 22222292992,922222292992,9922222292992,29922222292992,

%U 929922222292992,9929922222292992,99929922222292992,999929922222292992

%N a(n) contains n digits (either '2' or '9') and is divisible by 2^n.

%H Ray Chandler, <a href="/A053313/b053313.txt">Table of n, a(n) for n = 1..1000</a>

%F a(n)=a(n-1)+10^(n-1)*(2+7*[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 2, if not then n-th term begins with a 7.

%t Select[Flatten[Table[FromDigits/@Tuples[{2,9},n],{n,18}]],Divisible[ #,2^IntegerLength[ #]]&] (* _Harvey P. Dale_, Feb 07 2015 *)

%Y Cf. A023400, A050621, A050622, A035014.

%K base,nonn

%O 1,1

%A _Henry Bottomley_, Mar 06 2000

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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)