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!)
A133752 a(n) = 256^n. 2
1, 256, 65536, 16777216, 4294967296, 1099511627776, 281474976710656, 72057594037927936, 18446744073709551616, 4722366482869645213696, 1208925819614629174706176, 309485009821345068724781056 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Number of different possible values that a file of n bytes can have; each byte has 8 bits and each bit can be 0 or 1.
The sequence shows how many different files can exist even with a very small amount of data (just a few bytes). With just 5 bytes of data, there are 1099511627776 different possible files.
Partial sums are in A218723. - M. F. Hasler, Nov 05 2012
LINKS
EXAMPLE
a(1) = 256^1 = 256 --> there are 256 possible 1-byte files;
a(2) = 256^2 = 65536 --> there are 65536 possible 2-byte files;
a(3) = 256^3 = 16777216 --> there are 16777216 possible 3-byte files;
a(4) = 256^4 = 4294967296 --> there are 4294967296 possible 4-byte files;
a(5) = 256^5 = 1099511627776 --> there are 1099511627776 possible 5-byte files.
MATHEMATICA
lst={}; Do[AppendTo[lst, 256^n], {n, 0, 4!}]; lst (* Vladimir Joseph Stephan Orlovsky, Mar 02 2009 *)
256^Range[0, 20] (* Harvey P. Dale, Aug 21 2014 *)
PROG
(Python)
def A133572(n): return 1<<(n<<3) # Chai Wah Wu, Nov 10 2022
CROSSREFS
Subsequence of A000079.
Cf. A218723.
Sequence in context: A189110 A223803 A223581 * A144322 A223266 A222101
KEYWORD
easy,nonn
AUTHOR
Marcel Hetkowski Fabeny (marcelfabeny(AT)yahoo.com.br), Jan 01 2008
EXTENSIONS
Edited by Jon E. Schoenfield, Jan 24 2015
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 23 18:16 EDT 2024. Contains 371916 sequences. (Running on oeis4.)