We are sorry, eCoupon {0} {1} has been fully claimed
We are sorry, eCoupon {0} {1} has been fully claimed. Refresh and try when others quit.
{0} coupons left to claim
Compare
Added!
Build Your PC
View {0} Model
View {0} Models
Configure/Buy
Add To Cart
This Product has recently expired. Please contact your Lenovo Sales Representative to renew this item.
This model is configurable! Click Build Your PC to start configuring.
JOIN MYLENOVO
REWARDS!!
• Earn & redeem rewards
• Engagement rewards
• Member exclusive offers
• Free to Join — Join now!
COMING SOON
New Options Available
AVAILABLE SOON
READY TO SHIP
Price Match Guarantee
/shopping-faq/#payments
off
Save
Lenovo Outlet Price
Your price
List Price
List Price
List Price is Lenovo’s estimate of product value based on the industry data, including the prices at which first and third-party retailers and etailers have offered or valued the same or comparable products. Third-party reseller data may not be based on actual sales.
Est Value
Est Value (Estimated Value)
Estimated value is Lenovo’s estimate of product value based on industry data, including the prices at which Lenovo and/or third-party retailers and e-tailers have offered or valued the same or comparable products. Third-party data may not be based on actual sales.
Est Value:
Exclusive Price:
Starting at
Instant Savings
eCoupon Savings:  
Additional Savings
Show Price Breakdown
Hide Price Breakdown
Use eCoupon
Includes
Features
Key Details
Part Number
See More
See Less
 
Coming Soon
expanded
collapsed
See More Details
Great choice!
You may compare up to 4 products per product category (laptops, desktops, etc). Please de-select one to add another.
View Your Comparisons
One moment please...
Search on Lenovo.com Public Website
& Up
Shipping Options
Update Postal Code
Response Error
Input Format Error
Pts
FREE
Delivery options for {0}
Specs Text Link
Specs Teaser Content
Specs Teaser Link
Learn More
Show details
Hide details
View more details
Includes {qty} items
(Qty: {qty})
read more
Join Now!
OR
*Savings cannot be combined
Ask an Expert
Call our Sales Team at:
Mon-Fri 9am-5:30pm GMT
Save
Pickup Availability near {0}
Update Location
All Eligible Items
Pickup Location for: {0}
{0} Miles Away
In Stock,
Today
Tomorrow
in {0} Days
Ready {0}
Open until {0}
Get Directions
Select This Location
Update
Use My Current Location
or
Enter Zip Code
Cancel
Store Pickup
Pickup unavailable
Available Today at select {0} locations
Get it today!
Get it tomorrow!
Lenovo and Best Buy have partnered to allow you to pick up Lenovo products at your local Best Buy. Choose a location near you and get it as soon as today!
Choose a pickup location
See all pickup locations
Ready {0}
at {0} {Store Name}
Pickup Availability near {0}
Update Location
All Eligible Items
Pickup Location for: {0}
{0} Miles Away
In Stock,
Today
Tomorrow
in {0} Days
Ready {0}
Open until {0}
Get Directions
Select This Location
update
Use My Current Location
or
Enter Zip Code
Cancel
Store Pickup
Pickup unavailable
Available Today at select {0} locations
Get it today!
Get it tomorrow!
Lenovo and Best Buy have partnered to allow you to pick up Lenovo products at your local Best Buy. Choose a location near you and get it as soon as today!
Choose a pickup location
See all pickup locations
Ready {0}
at {0} {Store Name}
After eCoupon limit is met, price is {nonEcouponPrice}
After eCoupon limit is met, price is {nonEcouponPrice}
QUANTITY UNAVAILABLE
Expiration Date:
Remaining Units:
My Price:
Hide quote dialog
Sign in or Create an Account
Sign In
Email Address
Password
Not enrolled for rewards? Join Now
By joining, you agree to the Terms & Conditions and you are opting in to receive Lenovo marketing communications via email.
/rewards/terms/
Terms of Use
Remember me
Forgot your username or password?
Create an Account
You can store addresses, easily keep track of your orders and save items in your cart for later.
Before you go, create a free account!
Create an Account
You can store addresses, easily keep track of your orders and save items in your cart for later.
The email format is incorrect, please try again
First Name
Maximum length is 50 characters
Last Name
For security purposes, password must contain:
8-20 characters
include two of the following: letters, numbers, and symbols($!#&)
Confirm Password
I agree to opt-in to Lenovo communications and I understand that my data will not be shared.
Yes, I have read and accepted the Terms of Use and Privacy Policy.
Please agree the terms and privacy policy
By joining, you agree to the Terms & Conditions and you are opting in to receive Lenovo marketing communications via email.
If you would like to earn rewards, you will need to check the join Rewards checkbox above. To create an account without earning Rewards, register below.
Register
The email format is incorrect, please try again.
Password incomplete: must contain 8-20 characters including at least two of the following: letters, number or symbol ($!#&)
We’re sorry, there are no locations within {0} miles.
Please update your location or select from available Best Buy locations below that exceed {0} miles.
Please enter a zipcode
Invalid Zip Code, please try again.
Update
Cancel
FPS
Pending
FPS for this system per game
within {Miles} miles
in {Store Name}
TELE DLP Click Here
Best Buy Store,
BEST BUY
Delivery
Delivery Unavailable
No available data
https://cdn.chargeafter.com/promotional-widget/lenovo/widget.min.js
d821ca96777fa248c886baf287ffc725e2d5c9ef
Save to:
My List
Create a List
{0} items
View
Create
Label
You must fill in this field
You currently have no saved lists
Guest List
List name is repetition
{0} item
Only a maximum of 15 lists can be created
Maximum character limit 200
Your wish list capacity is full, please remove lists and/or products to wish for more.
List at maximum, please remove items to wish for more products.
Shop
Compared
Exclusive Loyalty Price
Loyalty Savings
Your session is about to time out
Would you like to stay signed in?
minutes
seconds
Sign Out
Stay Signed In
Wishlist
Compare ({sum})
LOYALTY DISCOUNT
In your cart
In Your Cart & Compared
Compared
Your Price
Delivery
Quick View
View All Details
options
Tech Specs
(WEB EXCLUSIVE)
or
at
Select from
by {startDate}
between {startDate} {endDate}
delivered

What is an integer?

This is a recommends products dialog
Top Suggestions
Starting at
View All >
Language
Français
English
ไทย
繁體中文
Hi
TEMPORARILY UNAVAILABLE
DISCONTINUED
Temporary Unavailable
Cooming Soon!
. Additional units will be charged at the non-eCoupon price. Purchase additional now
We're sorry, the maximum quantity you are able to buy at this amazing eCoupon price is
Sign in or Create an Account to Save Your Cart!
Sign in or Create an Account to Join Rewards
View Cart
Your cart is empty! Don’t miss out on the latest products and savings — find your next favorite laptop, PC, or accessory today.
Remove
item(s) in cart
Some items in your cart are no longer available. Please visit cart for more details.
has been deleted
Please review your cart as items have changed.
of
Contains Add-ons
Subtotal
Proceed to checkout
Yes
No
Popular Searches
skip to main content
{"backgroundColor":"#e6f4fa","sideMsg":{"t_id":"","language":{"fr_ca":"","en_ca":""},"id":""},"data":[{"bannerInfo":{"t_id":"Pagec449a54e-a156-4b1d-8e9f-2c08f2108762","language":{"fr_ca":"","en_ca":"%3Cp%3ESave%20up%20to%20%7BsavingPercent%7D%20off%20during%20Dads%20%26amp%3B%20Grads%20%3Ca%20href%3D%22%2Fd%2Fdeals%2Fdoorbusters%2F%3FIPromoID%3DLEN944203%22%20target%3D%22_self%22%3E%3Cstrong%3EShop%20Now%20%26gt%3B%3C%2Fstrong%3E%3C%2Fa%3E%3C%2Fp%3E","en":"","fr":""},"id":"Pagec449a54e-a156-4b1d-8e9f-2c08f2108762"}},{"bannerInfo":{"t_id":"Page3ed037f6-fddd-4b8b-8974-d361cce9afda","language":{"fr_ca":"","en_ca":"%3Cp%3E%3Cstrong%3E%3Cspan%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%3C%2Fspan%3E%3C%2Fstrong%3E%3C%2Fp%3E%3Cp%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3EJoin%20%3Cstrong%3EMy%20Lenovo%20Rewards%3C%2Fstrong%3E%20and%20get%20access%20to%20%3Cstrong%3Eexclusive%20member%20discounts!%3C%2Fstrong%3E%26nbsp%3B%3C%2Fspan%3E%3Ca%20href%3D%22%2Fd%2Fdeals%2Flenovo-sale%2F%3FIPromoID%3DLEN775755%22%20target%3D%22_self%22%20textvalue%3D%22Shop%20Deals%20%26gt%3B%22%3E%3Cstrong%3EShop%20Deals%20%26gt%3B%3C%2Fstrong%3E%3C%2Fa%3E%3C%2Fp%3E","en":"","fr":""},"id":"Page3ed037f6-fddd-4b8b-8974-d361cce9afda"}},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Pageee0724b3-c6b4-43be-89b6-fa092f000cea","language":{"fr_ca":"","en_ca":"%3Cp%3EBusiness%20Financing%20Available.%20Split%20payments%20from%204%20to%2052%20weeks%2C%20options%20as%20low%20as%200%25%20interest.%26nbsp%3B%3Ca%20href%3D%22%2Flandingpage%2Flenovo-financing-options%2F%3FIPromoID%3DLEN771093%22%20target%3D%22_self%22%20textvalue%3D%22See%20Details%26nbsp%3B%26gt%3B%22%3E%3Cstrong%3ESee%20Details%26nbsp%3B%26gt%3B%3C%2Fstrong%3E%3C%2Fa%3E%3C%2Fp%3E","en":"","fr":""},"id":"Pageee0724b3-c6b4-43be-89b6-fa092f000cea"},"gInfo":{"t_id":"","language":{},"id":""}},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Page8d3d9f93-aaa1-482d-b19b-8944e5220636","language":{"fr_ca":"","en_ca":"%3Cp%3EFree%20shipping%20sitewide%2C%20no%20minimum.%3C%2Fp%3E","en":"","fr":""},"id":"Page8d3d9f93-aaa1-482d-b19b-8944e5220636"},"gInfo":""}],"autoRun":true}
  • Save up to {savingPercent} off during Dads & Grads Shop Now >

  • Join My Lenovo Rewards and get access to exclusive member discounts! Shop Deals >

  • Business Financing Available. Split payments from 4 to 52 weeks, options as low as 0% interest. See Details >

  • Free shipping sitewide, no minimum.

Want a laptop that has it all?

  • Superior performance where you need it most
  • Communicate confidently with built-in intelligence
  • Nearly 3X faster internet with Intel® Wi-Fi 6/6E (Gig+)1
  • Fast-charging, long-lasting battery

What is an integer?

An integer is a mathematical term that represents a whole number. It’s also found a place in computer programming. Unlike floating-point numbers, integers cannot have a decimal or fractional part. In most programming languages, integers are represented as either 32-bit or 64-bit values.

How are integers used in computer programming?

Integers are used for a variety of purposes in computer programming, including as counters in loops, as indices in arrays or lists, and as identifiers for objects or variables. They can also be used to represent things—like the number of items in a shopping cart or the amount of time elapsed since a program started running.

How are integers stored in computer memory?

In most computers, integers are stored in binary format, with each bit representing a power of 2. This allows for efficient arithmetic operations like addition or subtraction, as well as bitwise operations like AND or XOR. The exact format and size of integers may vary depending on the computer architecture and the programming language being used.

What is an overflow in integer arithmetic?

Overflow occurs when an arithmetic operation on integers produces a result that is too large to be represented using the available number of bits. This can lead to incorrect computation results or unexpected behavior in a computer program. To avoid overflow, programmers must choose the appropriate size integer for a particular task or to use other methods like modular arithmetic to reduce the range of values being computed.

Can integers be negative?

Yes, integers can be negative as well as positive. In most programming languages, negative integers are represented using a two's complement notation, in which the highest-order bit has a negative weight. This allows for efficient arithmetic operations on both positive and negative integers.

How do I convert a string to an integer in a program?

In most programming languages, you can use a function like parseInt() or atoi() to convert a string representation of an integer into an actual integer value. However, you must be careful to handle input errors like non-numeric characters or overflow, which can cause your program to crash or produce incorrect results.

Can I perform arithmetic operations on integers of different sizes?

In most programming languages, it’s possible to perform arithmetic operations on integers of different sizes, but the result may depend on the specific type of operation being performed. For example, adding a smaller integer to a larger integer may result in unexpected behavior, like overflow or truncation of the smaller value. To avoid these issues, it's usually best to use integers of the same size whenever possible.

What is the largest Integer that can be represented using 32 bits?

In a signed two's complement format, the largest integer that can be represented using 32 bits is 2,147,483,647. If you want to represent larger integers, try a 64-bit integer instead, as it allows for a range of values up to 9,223,372,036,854,775,807.

How do I print an integer value to the console or screen?

In most programming languages, you can use a function like printf() or println() to output an integer value to the console or screen. Depending on the language, you may need to specify a format string to control the output format or give additional arguments to specify the value to be printed.

Why are integers used in computer programming?

Integers are a simple and efficient way to represent whole numbers in computer programming. They can be used for a wide range of tasks, from simple calculations to complex algorithms. They are also easy to understand and manipulate, making them a popular choice for software developers of all levels of experience.

Can integers be used in conditional statements?

Yes, integers can be used in conditional statements such as if or while to control the flow of a program based on the value of the integer. For example, you could use an integer as the counter variable in a loop and then test whether it has reached a certain value to determine when to stop iterating.

What’s different between a signed and unsigned Integer?

A signed integer can represent both positive and negative values, while an unsigned integer can only represent non-negative values. This is because the highest-order bit is reserved for the sign in a signed integer, while it can be used for additional positive values in an unsigned integer. The specific range of values that can be represented by each type depends on the number of bits used.

Can I perform bitwise operations on integers in a program?

In most programming languages, you can use special operators such as &, |, and ^ to perform bitwise operations on integers. These operations manipulate individual bits within the integer, making them useful for tasks like encoding or decoding data. You can also use the shift operators << and >> to move bits left or right, effectively multiplying or dividing the integer by powers of two.

Are there common mistakes when using integers in programming?

One common mistake is to assume that integers can only be positive, which can lead to errors when working with negative values. Another mistake is to assume that integers can represent arbitrarily large values, which can lead to overflow or truncation. To avoid these issues, you test and validate your program's behavior under different inputs and edge cases, and review your assumptions about the range and behavior of integers.

Can I perform division on integers?

Yes, you can divide integers, but the result may not be exact if the divisor does not evenly divide the dividend. In most programming languages, dividing two integers produces another integer, with any remainder truncated. To get a floating-point result, you may need to explicitly change one or both integers to a floating-point type.

What’s the complement of an integer? How is it used in a program?

The complement of an integer is the bitwise negation of its binary representation, in which every 0 is replaced by 1 and every 1 is replaced by 0. The complement is useful in computer programming for tasks like flipping individual bits in a value or creating masks to extract or modify specific bit patterns. In most programming languages, you can use the bitwise complement operator (~) to compute the complement of an integer.

open in new tab
Compare  ()
x