|
|
|
|
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.
|
|
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
|
|
|
PROG
|
(Python)
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Marcel Hetkowski Fabeny (marcelfabeny(AT)yahoo.com.br), Jan 01 2008
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|