SlideShare une entreprise Scribd logo
1  sur  1
Télécharger pour lire hors ligne
In this question, we'll modify the cost of flipping a bit in the k-bit counter discussed in the
lectures. Suppose instead of incurring a cost of 1 to flip a bit, for this question the cost to flip a
bit is dependent on the position of the bit is given by: flipping the ith bit (or equivalently bit i ),
for i0, incurs a cost of i. Assume the bits are labelled from 0 to k1, where bit 0 is the least
significant bit, while bit k1 is the most significant bit. For example, for k=4, going from 0000 to
0001 costs nothing, going from 0001 to 0010 costs 1 , going from 0111 to 1000 incurs a cost of
0+1+2+3=6 because it costs 0 to flip bit 0,1 to flip bit 1 , and 2 to bit 2 , and 3 to flip bit 3. Using
the method of aggregate analysis, with the counter initialized to 000..0 (zero), show that n
increments of the counter incurs a total cost of at most 4n. Hint: It may be helpful to apply one of
the following. n=0nxn1=(1x)21 and n=0nxn=(1x)2x, for x<1

Contenu connexe

Plus de ALANKARSTEELINDUSTRI

Inorganic phosphorous is a naturally occurring element in all plants .pdf
 Inorganic phosphorous is a naturally occurring element in all plants .pdf Inorganic phosphorous is a naturally occurring element in all plants .pdf
Inorganic phosphorous is a naturally occurring element in all plants .pdfALANKARSTEELINDUSTRI
 
information flows within your job. Find out 1. the chart of accounts.pdf
 information flows within your job. Find out 1. the chart of accounts.pdf information flows within your job. Find out 1. the chart of accounts.pdf
information flows within your job. Find out 1. the chart of accounts.pdfALANKARSTEELINDUSTRI
 
Information about light in the outside world is used to tune the brai.pdf
 Information about light in the outside world is used to tune the brai.pdf Information about light in the outside world is used to tune the brai.pdf
Information about light in the outside world is used to tune the brai.pdfALANKARSTEELINDUSTRI
 
Infection control 16. Chain of infection 17. Factors that increase ho.pdf
 Infection control 16. Chain of infection 17. Factors that increase ho.pdf Infection control 16. Chain of infection 17. Factors that increase ho.pdf
Infection control 16. Chain of infection 17. Factors that increase ho.pdfALANKARSTEELINDUSTRI
 
In the textbook, you leamed about Hopi Hoekstra and colleagues who we.pdf
 In the textbook, you leamed about Hopi Hoekstra and colleagues who we.pdf In the textbook, you leamed about Hopi Hoekstra and colleagues who we.pdf
In the textbook, you leamed about Hopi Hoekstra and colleagues who we.pdfALANKARSTEELINDUSTRI
 
Larger raindrops fall than smaller raindrops. slower faster Questio.pdf
 Larger raindrops fall than smaller raindrops. slower faster Questio.pdf Larger raindrops fall than smaller raindrops. slower faster Questio.pdf
Larger raindrops fall than smaller raindrops. slower faster Questio.pdfALANKARSTEELINDUSTRI
 
L0 254 P4-41A. (Learning Objectives 2, 4 Aggregating information for.pdf
 L0 254 P4-41A. (Learning Objectives 2, 4 Aggregating information for.pdf L0 254 P4-41A. (Learning Objectives 2, 4 Aggregating information for.pdf
L0 254 P4-41A. (Learning Objectives 2, 4 Aggregating information for.pdfALANKARSTEELINDUSTRI
 
Kozmo y Webvan eran dos servicios de entrega en l�nea que se decl.pdf
 Kozmo y Webvan eran dos servicios de entrega en l�nea que se decl.pdf Kozmo y Webvan eran dos servicios de entrega en l�nea que se decl.pdf
Kozmo y Webvan eran dos servicios de entrega en l�nea que se decl.pdfALANKARSTEELINDUSTRI
 
Komal borrows $14,000 from her father to open her accounting practice.pdf
 Komal borrows $14,000 from her father to open her accounting practice.pdf Komal borrows $14,000 from her father to open her accounting practice.pdf
Komal borrows $14,000 from her father to open her accounting practice.pdfALANKARSTEELINDUSTRI
 
kites at filowi Corphite pets fa) Prough (4) Trepicutily ifou in nite.pdf
 kites at filowi Corphite pets fa) Prough (4) Trepicutily ifou in nite.pdf kites at filowi Corphite pets fa) Prough (4) Trepicutily ifou in nite.pdf
kites at filowi Corphite pets fa) Prough (4) Trepicutily ifou in nite.pdfALANKARSTEELINDUSTRI
 
Kingbird Co. has the following defined benefit pension plan balances .pdf
 Kingbird Co. has the following defined benefit pension plan balances .pdf Kingbird Co. has the following defined benefit pension plan balances .pdf
Kingbird Co. has the following defined benefit pension plan balances .pdfALANKARSTEELINDUSTRI
 
Kara categorized her spending for this month into four categories Re.pdf
 Kara categorized her spending for this month into four categories Re.pdf Kara categorized her spending for this month into four categories Re.pdf
Kara categorized her spending for this month into four categories Re.pdfALANKARSTEELINDUSTRI
 
Kamada CIA Japan (A). Takeshi Kamada, a foreign exchange trader .pdf
 Kamada CIA Japan (A). Takeshi Kamada, a foreign exchange trader .pdf Kamada CIA Japan (A). Takeshi Kamada, a foreign exchange trader .pdf
Kamada CIA Japan (A). Takeshi Kamada, a foreign exchange trader .pdfALANKARSTEELINDUSTRI
 
Jouralize Be folowing bond traersacione (i) (Cack the icon to view it.pdf
 Jouralize Be folowing bond traersacione (i) (Cack the icon to view it.pdf Jouralize Be folowing bond traersacione (i) (Cack the icon to view it.pdf
Jouralize Be folowing bond traersacione (i) (Cack the icon to view it.pdfALANKARSTEELINDUSTRI
 
JD Dorian paid $1,000 of interest on a loan that paid tuition for him.pdf
 JD Dorian paid $1,000 of interest on a loan that paid tuition for him.pdf JD Dorian paid $1,000 of interest on a loan that paid tuition for him.pdf
JD Dorian paid $1,000 of interest on a loan that paid tuition for him.pdfALANKARSTEELINDUSTRI
 
Jenny (15 years old) is one of two beneficiaries of Trust B created.pdf
 Jenny (15 years old) is one of two beneficiaries of Trust B created.pdf Jenny (15 years old) is one of two beneficiaries of Trust B created.pdf
Jenny (15 years old) is one of two beneficiaries of Trust B created.pdfALANKARSTEELINDUSTRI
 
JCL Inc. Is a major chip manufacturing firm that sells its products t.pdf
 JCL Inc. Is a major chip manufacturing firm that sells its products t.pdf JCL Inc. Is a major chip manufacturing firm that sells its products t.pdf
JCL Inc. Is a major chip manufacturing firm that sells its products t.pdfALANKARSTEELINDUSTRI
 
In the register there is a prolonged open phase. A. modal; falsetto B.pdf
 In the register there is a prolonged open phase. A. modal; falsetto B.pdf In the register there is a prolonged open phase. A. modal; falsetto B.pdf
In the register there is a prolonged open phase. A. modal; falsetto B.pdfALANKARSTEELINDUSTRI
 
J. Altman, BJ Everitt, TW Robbins, S. Glautier, A. Markou, D. Nutt..pdf
 J. Altman, BJ Everitt, TW Robbins, S. Glautier, A. Markou, D. Nutt..pdf J. Altman, BJ Everitt, TW Robbins, S. Glautier, A. Markou, D. Nutt..pdf
J. Altman, BJ Everitt, TW Robbins, S. Glautier, A. Markou, D. Nutt..pdfALANKARSTEELINDUSTRI
 
Ivanhoe Limited follows ASPE, and the company sponsors a defined bene.pdf
 Ivanhoe Limited follows ASPE, and the company sponsors a defined bene.pdf Ivanhoe Limited follows ASPE, and the company sponsors a defined bene.pdf
Ivanhoe Limited follows ASPE, and the company sponsors a defined bene.pdfALANKARSTEELINDUSTRI
 

Plus de ALANKARSTEELINDUSTRI (20)

Inorganic phosphorous is a naturally occurring element in all plants .pdf
 Inorganic phosphorous is a naturally occurring element in all plants .pdf Inorganic phosphorous is a naturally occurring element in all plants .pdf
Inorganic phosphorous is a naturally occurring element in all plants .pdf
 
information flows within your job. Find out 1. the chart of accounts.pdf
 information flows within your job. Find out 1. the chart of accounts.pdf information flows within your job. Find out 1. the chart of accounts.pdf
information flows within your job. Find out 1. the chart of accounts.pdf
 
Information about light in the outside world is used to tune the brai.pdf
 Information about light in the outside world is used to tune the brai.pdf Information about light in the outside world is used to tune the brai.pdf
Information about light in the outside world is used to tune the brai.pdf
 
Infection control 16. Chain of infection 17. Factors that increase ho.pdf
 Infection control 16. Chain of infection 17. Factors that increase ho.pdf Infection control 16. Chain of infection 17. Factors that increase ho.pdf
Infection control 16. Chain of infection 17. Factors that increase ho.pdf
 
In the textbook, you leamed about Hopi Hoekstra and colleagues who we.pdf
 In the textbook, you leamed about Hopi Hoekstra and colleagues who we.pdf In the textbook, you leamed about Hopi Hoekstra and colleagues who we.pdf
In the textbook, you leamed about Hopi Hoekstra and colleagues who we.pdf
 
Larger raindrops fall than smaller raindrops. slower faster Questio.pdf
 Larger raindrops fall than smaller raindrops. slower faster Questio.pdf Larger raindrops fall than smaller raindrops. slower faster Questio.pdf
Larger raindrops fall than smaller raindrops. slower faster Questio.pdf
 
L0 254 P4-41A. (Learning Objectives 2, 4 Aggregating information for.pdf
 L0 254 P4-41A. (Learning Objectives 2, 4 Aggregating information for.pdf L0 254 P4-41A. (Learning Objectives 2, 4 Aggregating information for.pdf
L0 254 P4-41A. (Learning Objectives 2, 4 Aggregating information for.pdf
 
Kozmo y Webvan eran dos servicios de entrega en l�nea que se decl.pdf
 Kozmo y Webvan eran dos servicios de entrega en l�nea que se decl.pdf Kozmo y Webvan eran dos servicios de entrega en l�nea que se decl.pdf
Kozmo y Webvan eran dos servicios de entrega en l�nea que se decl.pdf
 
Komal borrows $14,000 from her father to open her accounting practice.pdf
 Komal borrows $14,000 from her father to open her accounting practice.pdf Komal borrows $14,000 from her father to open her accounting practice.pdf
Komal borrows $14,000 from her father to open her accounting practice.pdf
 
kites at filowi Corphite pets fa) Prough (4) Trepicutily ifou in nite.pdf
 kites at filowi Corphite pets fa) Prough (4) Trepicutily ifou in nite.pdf kites at filowi Corphite pets fa) Prough (4) Trepicutily ifou in nite.pdf
kites at filowi Corphite pets fa) Prough (4) Trepicutily ifou in nite.pdf
 
Kingbird Co. has the following defined benefit pension plan balances .pdf
 Kingbird Co. has the following defined benefit pension plan balances .pdf Kingbird Co. has the following defined benefit pension plan balances .pdf
Kingbird Co. has the following defined benefit pension plan balances .pdf
 
Kara categorized her spending for this month into four categories Re.pdf
 Kara categorized her spending for this month into four categories Re.pdf Kara categorized her spending for this month into four categories Re.pdf
Kara categorized her spending for this month into four categories Re.pdf
 
Kamada CIA Japan (A). Takeshi Kamada, a foreign exchange trader .pdf
 Kamada CIA Japan (A). Takeshi Kamada, a foreign exchange trader .pdf Kamada CIA Japan (A). Takeshi Kamada, a foreign exchange trader .pdf
Kamada CIA Japan (A). Takeshi Kamada, a foreign exchange trader .pdf
 
Jouralize Be folowing bond traersacione (i) (Cack the icon to view it.pdf
 Jouralize Be folowing bond traersacione (i) (Cack the icon to view it.pdf Jouralize Be folowing bond traersacione (i) (Cack the icon to view it.pdf
Jouralize Be folowing bond traersacione (i) (Cack the icon to view it.pdf
 
JD Dorian paid $1,000 of interest on a loan that paid tuition for him.pdf
 JD Dorian paid $1,000 of interest on a loan that paid tuition for him.pdf JD Dorian paid $1,000 of interest on a loan that paid tuition for him.pdf
JD Dorian paid $1,000 of interest on a loan that paid tuition for him.pdf
 
Jenny (15 years old) is one of two beneficiaries of Trust B created.pdf
 Jenny (15 years old) is one of two beneficiaries of Trust B created.pdf Jenny (15 years old) is one of two beneficiaries of Trust B created.pdf
Jenny (15 years old) is one of two beneficiaries of Trust B created.pdf
 
JCL Inc. Is a major chip manufacturing firm that sells its products t.pdf
 JCL Inc. Is a major chip manufacturing firm that sells its products t.pdf JCL Inc. Is a major chip manufacturing firm that sells its products t.pdf
JCL Inc. Is a major chip manufacturing firm that sells its products t.pdf
 
In the register there is a prolonged open phase. A. modal; falsetto B.pdf
 In the register there is a prolonged open phase. A. modal; falsetto B.pdf In the register there is a prolonged open phase. A. modal; falsetto B.pdf
In the register there is a prolonged open phase. A. modal; falsetto B.pdf
 
J. Altman, BJ Everitt, TW Robbins, S. Glautier, A. Markou, D. Nutt..pdf
 J. Altman, BJ Everitt, TW Robbins, S. Glautier, A. Markou, D. Nutt..pdf J. Altman, BJ Everitt, TW Robbins, S. Glautier, A. Markou, D. Nutt..pdf
J. Altman, BJ Everitt, TW Robbins, S. Glautier, A. Markou, D. Nutt..pdf
 
Ivanhoe Limited follows ASPE, and the company sponsors a defined bene.pdf
 Ivanhoe Limited follows ASPE, and the company sponsors a defined bene.pdf Ivanhoe Limited follows ASPE, and the company sponsors a defined bene.pdf
Ivanhoe Limited follows ASPE, and the company sponsors a defined bene.pdf
 

Dernier

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 

Dernier (20)

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 

In this question, well modify the cost of flipping a bit in the k-bi.pdf

  • 1. In this question, we'll modify the cost of flipping a bit in the k-bit counter discussed in the lectures. Suppose instead of incurring a cost of 1 to flip a bit, for this question the cost to flip a bit is dependent on the position of the bit is given by: flipping the ith bit (or equivalently bit i ), for i0, incurs a cost of i. Assume the bits are labelled from 0 to k1, where bit 0 is the least significant bit, while bit k1 is the most significant bit. For example, for k=4, going from 0000 to 0001 costs nothing, going from 0001 to 0010 costs 1 , going from 0111 to 1000 incurs a cost of 0+1+2+3=6 because it costs 0 to flip bit 0,1 to flip bit 1 , and 2 to bit 2 , and 3 to flip bit 3. Using the method of aggregate analysis, with the counter initialized to 000..0 (zero), show that n increments of the counter incurs a total cost of at most 4n. Hint: It may be helpful to apply one of the following. n=0nxn1=(1x)21 and n=0nxn=(1x)2x, for x<1