XMPP JavaScript Library

What is an armstrong number?

UnCategorised, Sachin Puri, 2012-05-24 20:26:47

An Armstrong number is a n digit number, which is equal to the sum of the nth powers of its digits.

All the 1 digit numbers (1-9) are Armstrong number because

  • 1*1=1 which is equals to number (1) itself,
  • 2*1=2 which is equals to number(2) itself so on for all the 1 digit numbers (1-9).

There are no 2 digit Armstrong numbers.

An Armstrong number of three digit is a number such that that sum of the cubes of it's digits is equal to the number itself. so to check if a 3 digit number is an armstrong number or not we have to multiply all the three digits with itself 3 times.

For example 153 is an Armstrong number because cube of 1 is 1(1x1x1=1) + cube of 5 is 125(5*5*5=125) + cube of 3 is 27(3*3*3=27). Now add all the cubes 1+125+27=153 which is equals to number itself

 

Example 1: Check if 153 is an armstrong number or not

There are three digits in 153. First Digit is 1, Second digit is 5, and Third digit is 3.

Now,

We will multiply each of these three digits i.e 1,5,3 with itself 3 times because there are 3 digits in 153

So,

1 * 1 * 1 =   1

5 * 5 * 5 = 125

3 * 3 * 3 =  27
___________________
   Sum of=  153

Because the sum is equals to the digit itself, so we can say that 153 is an armstrong number.

 

Example 2: Check if 154 is an armstrong number or not

1 * 1 * 1 =   1

5 * 5 * 5 = 125

4 * 4 * 4 =  64
___________________
   Sum of=  190

So in this example we can see that when we multiply each digit of 154 (i.e. 1 and 5 and 4) with itself 3 times (because 153 has three digits) we get these three numbers (1 and 125 and 64) and then we add these numbers i.e 1+125+64 we get 190

Because the sum 190 is not equals to the digit (154) itself, so we can say that 154 is not an armstrong number.

 

Example 3: Check if 370 is an armstrong number or not

3 * 3 * 3 =  27

7 * 7 * 7 = 343

0 * 0 * 0 =   0
___________________
   Sum of=  370


So in this example we can see that when we multiply each digit of 370 (i.e 3 and 4 and 0) with itself 3 times (because 370 has three digits) we get these three numbers (27 and 343 and 0) and then we add these numbers i.e 27+343+0 we get 370

Because the sum 370 is equals to the digit 370 itself, so we can say that 370 is an armstrong number.

 

Some Exercises for you:

Check if these are armstrong numbers or not,

 

  1. 223
  2. 371
  3. 402
  4. 407

 

 

Add Your Comment
   
    Yes! I want to receive all comments by email

  by 스포츠중계 on 21-Jun-2019 08:18 am

Sports relay site Height TV. All sports around the world nba nb mlb Relay Overseas football Relay Overseas sports Relay See all sports for free스포츠중계

스포츠티비 스포츠중계 해외스포츠중계 해외스포츠중계티비 해외축구중계티비 해외축구중계 축구중계 축구중계티비 NBA중계티비 NBA중계 느바중계 느바중계티비 MLB중계 NPB중계 KBO중계 메이저리그중계 해외야구중계 무료야구중계 해외야구중계티비 무료야구중계티비 무료스포츠티비 무료스포츠중계 무료스포츠중계티비 무료해외스포츠중계 무료해외스포츠 중계티비 일본야구중계 npb중계 ufc중계 epl중계 프리미어리그중계 로그인없는해외 축구중계 로그인없는스포츠 중계 한국축구중계 월드컵중계 배구중계 nhl중계 khl중계 j리그중계 k리그중계 이강인중계 손흥민중계 한국축구중계 농구중계 스포츠중 계 무료스포츠중계 khl중계 nba중계 농구중계 실시간스포츠중계 k리그중계 손흥민중계 일본야구중계 스포츠티비 실시간 무료스포츠중계 이강인중 계 월드컵중계 j리그중계 epl중계 믈브중계 실시간무료스포츠중계 mlb중계 로그인없는해외축구중계 ufc중계 무료축구중계 khl중계 mlb중계 nba중계 ufc중계 무료축구중계 무료스포츠중계 npb중계 nba중계 스포츠티비 스포츠중계 프리 미어리그중계 실시간스포츠중계 해외축구중계 해외스포츠중계 nba중계 스포츠중계 스포츠티비-https://herotv01.com/ 스포츠중계-https://herotv01.com/ 스포츠중계티비-https://herotv01.com/ 해외스포츠중계-https://herotv01.com/ 해외스포츠중계티비-https://herotv01.com/ 해외축구중계티비-https://herotv01.com/ 해외축구중계-https://herotv01.com/ 축구중계-https://herotv01.com/ 축구중계티비-https://herotv01.com/ NBA중계티비 -https://herotv01.com/ NBA중계 -https://herotv01.com/ 느바중계-https://herotv01.com/ 느바중계티비-https://herotv01.com/ MLB중계 -https://herotv01.com/ NPB중계 -https://herotv01.com/ KBO중계 -https://herotv01.com/ 메이저리그중계-https://herotv01.com/ 해외야구중계-https://herotv01.com/ 무료야구중계-https://herotv01.com/ 해외야구중계티비-https://herotv01.com/ 무료야구중계티비-https://herotv01.com/ 무료스포츠티비-https://herotv01.com/ 무료스포츠중계-https://herotv01.com/ 무료스포츠중계티비-https://herotv01.com/ 무료해외스포츠중계-https://herotv01.com/ 무료해외스포츠중계티비-https://herotv01.com/ 무료해외축구중계티비-https://herotv01.com/ 무료해외축구중계-https://herotv01.com/ 무료축구중계-https://herotv01.com/ 무료축구중계티비-https://herotv01.com/ 무료NBA중계티비 -https://herotv01.com/ 무료NBA중계 -https://herotv01.com/ 무료느바중계-https://herotv01.com/ 무료느바중계티비-https://herotv01.com/ 무료MLB중계 -https://herotv01.com/ 무료NPB중계 -https://herotv01.com/ 무료KBO중계 -https://herotv01.com/
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by 레플리카 on 14-Jun-2019 12:44 pm

It is a shopping mall site where you can buy the luxury replica at the lowest price. Various luxury brands Lowest price sale replica watch Apparel bag Purse etc. Collected replica handling Luxury watches Rolex TAG Heuer Omega and etc. 레플리카시계

레플리카 레플리카쇼핑몰 레플리카사이트 레플리카시계 레플리카시계사이트 태그호이어레플리카시계 롤렉스레플리카 홍콩시계 롤렉스레플리카사이트 s급레플리카시계 레플리카시계쇼핑몰 파텍필립레플리카 오메가레플리카 레플리카시계추천 브라이틀링레플리카 iwc레플리카 s급미러급레플리카시계 또매워치 레플리카또매워치 sa급레플리카시계 레플리카 - https://ddmw1.com/ 레플리카쇼핑몰 - https://ddmw1.com/ 레플리카사이트 - https://ddmw1.com/ 레플리카시계 - https://ddmw1.com/ 레플리카시계사이트 - https://ddmw1.com/ 태그호이어레플리카시계 - https://ddmw1.com/ 롤렉스레플리카 - https://ddmw1.com/ 홍콩시계 - https://ddmw1.com/ 롤렉스레플리카사이트 - https://ddmw1.com/ s급레플리카시계 - https://ddmw1.com/ 레플리카시계쇼핑몰 - https://ddmw1.com/ 파텍필립레플리카 - https://ddmw1.com/ 오메가레플리카 - https://ddmw1.com/ 레플리카시계추천 - https://ddmw1.com/ 브라이틀링레플리카 - https://ddmw1.com/ iwc레플리카 - https://ddmw1.com/ s급미러급레플리카시계 - https://ddmw1.com/ 또매워치 - https://ddmw1.com/ 레플리카또매워치 - https://ddmw1.com/ sa급레플리카시계 - https://ddmw1.com/
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by 레플리카 on 14-Jun-2019 12:44 pm

Replica shopping mall record. We sell at the lowest price of various luxury replica. We only sell high quality goods by handling only high quality. We sell only high quality clothing brand luxury watch brand etc. 레플리카

레플리카 명품레플리카 레플리카쇼핑몰 레플리카사이트 레플리카시계 레플리카시계사이트 태그호이어레플리카시계 롤렉스레플리카 홍콩시계 롤렉스레플리카사이트 s급레플리카시계 레플리카시계쇼핑몰 파텍필립레플리카 오메가레플리카 레플리카시계추천 브라이틀링레플리카 iwc레플리카 s급미러급레플리카시계 레코드 레플리카레코드 sa급레플리카시계 레플리카 - https://record01.com 명품레플리카 - https://record01.com 레플리카쇼핑몰 - https://record01.com 레플리카사이트 - https://record01.com 레플리카시계 - https://record01.com 레플리카시계사이트 - https://record01.com 태그호이어레플리카시계 - https://record01.com 롤렉스레플리카 - https://record01.com 홍콩시계 - https://record01.com 롤렉스레플리카사이트 - https://record01.com s급레플리카시계 - https://record01.com 레플리카시계쇼핑몰 - https://record01.com 파텍필립레플리카 - https://record01.com 오메가레플리카 - https://record01.com 레플리카시계추천 - https://record01.com 브라이틀링레플리카 - https://record01.com iwc레플리카 - https://record01.com s급미러급레플리카시계 - https://record01.com 레코드 - https://record01.com 레플리카레코드 - https://record01.com sa급레플리카시계 - https://record01.com
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by 레플리카 on 14-Jun-2019 12:44 pm

It is a style on which only replica high quality products are sold. Stylon sells high quality brand clothing, watch bag, wallet, etc., and sells only high quality 레플리카

레플리카 명품레플리카 레플리카쇼핑몰 레플리카사이트 레플리카시계 레플리카시계사이트 태그호이어레플리카시계 롤렉스레플리카 홍콩시계 롤렉스레플리카사이트 s급레플리카시계 레플리카시계쇼핑몰 파텍필립레플리카 오메가레플리카 레플리카시계추천 브라이틀링레플리카 iwc레플리카 s급미러급레플리카시계 스타일온 레플리카스타일온 sa급레플리카시계 레플리카 - https://styleon1.com/ 명품레플리카 - https://styleon1.com/ 레플리카쇼핑몰 - https://styleon1.com/ 레플리카사이트 - https://styleon1.com/ 레플리카시계 - https://styleon1.com/ 레플리카시계사이트 - https://styleon1.com/ 태그호이어레플리카시계 - https://styleon1.com/ 롤렉스레플리카 - https://styleon1.com/ 홍콩시계 - https://styleon1.com/ 롤렉스레플리카사이트 - https://styleon1.com/ s급레플리카시계 - https://styleon1.com/ 레플리카시계쇼핑몰 - https://styleon1.com/ 파텍필립레플리카 - https://styleon1.com/ 오메가레플리카 - https://styleon1.com/ 레플리카시계추천 - https://styleon1.com/ 브라이틀링레플리카 - https://styleon1.com/ iwc레플리카 - https://styleon1.com/ s급미러급레플리카시계 - https://styleon1.com/ 스타일온 - https://styleon1.com/ 레플리카스타일온 - https://styleon1.com/ sa급레플리카시계 - https://styleon1.com/
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by http://lardotv.com on 02-Jun-2019 05:05 pm

Professional baseball, amateur baseball, and youth baseball are found in many countries in North America, Central America, South America, the Caribbean,해외스포츠중계

  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by http://ngry.tv on 02-Jun-2019 05:04 pm

ousin stole my apple ipad and tested to see if it can survive a 25 foot drop,국내야구스포츠중계

  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by https://hk-zeus.com on 02-Jun-2019 05:03 pm

An example is the preservation of ancient Greek sculptures in the museum and the making of replicas to create alternatives for display. Therefore, replicas are not necessarily replicas made by the original author.레플리카이미테이션

  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by https://ngrytt.com on 02-Jun-2019 05:02 pm

It depends on the management team. Toto Site We have selected only major companies for at least 6 years, all of which are directly contactable and safe to play without major playground.NPB토토사이트

  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by https://fortla.com on 02-Jun-2019 05:01 pm

I am trying to introduce 10 years of know-how and safe playground to introduce the private toto site and to establish safe playground so that users can exchange money무료스포츠토토사이트

  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by https://toto-center.com on 02-Jun-2019 05:00 pm

It is a Toto site that searches a lot of time and searches a lot of Toto site and finds a little more here and there and runs it on its own먹튀토토사이트

  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by ALI ALI on 29-Apr-2019 12:46 pm
On this page you can read my interests, write something special. 토토사이트
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by magzine post news on 28-Feb-2019 07:13 pm
Hey There. I found your blog using msn. This is a very well written article. I’ll be sure to bookmark it and come back to read more of your useful info. Thanks for the post. I’ll definitely return.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Vishnu Shukla on 31-Oct-2015 03:44 pm
C program to print Armstrong numbers from 1 to 500 #include int main(){ int num,r,sum,temp; for(num=1;num<=500;num++){ temp=num; sum = 0; while(temp!=0){ r=temp%10; temp=temp/10; sum=sum+(r*r*r); } if(sum==num) printf("%d ",num); } return 0; } Output: 1 153 370 371 407
  • Reply
  •  4 Like
  •  2 Dislike
  • Report
  by Vishnu Shukla on 31-Oct-2015 03:42 pm
C program to print Armstrong numbers from 1 to 500 #include int main(){ int num,r,sum,temp; for(num=1;num<=500;num++){ temp=num; sum = 0; while(temp!=0){ r=temp%10; temp=temp/10; sum=sum+(r*r*r); } if(sum==num) printf("%d ",num); } return 0; } Output: 1 153 370 371 407
  • Reply
  •  3 Like
  •  2 Dislike
  • Report
  by Manohar kumar bishwas on 27-Sep-2015 02:05 am
Supper explanation
  • Reply
  •  2 Like
  •  2 Dislike
  • Report
  by saini g on 12-Jun-2015 07:04 pm
that's a enough info about armstrong numbers (and i m not satisfied with this
  • Reply
  •  2 Like
  •  2 Dislike
  • Report
  by Ruchi Udani on 05-Apr-2015 06:20 pm
what is the common equation of armstrong number?
  • Reply
  •  2 Like
  •  2 Dislike
  • Report
  by ohk on 06-Jan-2015 01:12 pm
nyc
  • Reply
  •  2 Like
  •  2 Dislike
  • Report
  by pandiyarajan on 04-Nov-2014 12:36 pm
it\'s very helpful to me.
  • Reply
  •  2 Like
  •  2 Dislike
  • Report
  by Rajeev on 11-Sep-2013 10:14 pm
Best explanation
  • Reply
  •  3 Like
  •  3 Dislike
  • Report
  by shashidhar on 03-Apr-2013 08:58 pm
why we consider 1 as armstrong no in 3 digit
  • Reply
  •  5 Like
  •  3 Dislike
  • Report
  by Manish Kumar on 22-Apr-2013 12:02 am
We don't consider 1 as armstrong no is 3 digit. If we are calculating armstrong number of three digits we will consider only those numbers which have 3 digits in it.
  • Reply
  •  3 Like
  •  3 Dislike
  • Report
  by pooja on 30-Sep-2012 11:30 pm
thank you vvery much
  • Reply
  •  3 Like
  •  3 Dislike
  • Report
  by azam on 07-Sep-2012 09:35 am
thnks sir i want to recieve some moresolutions
  • Reply
  •  12 Like
  •  4 Dislike
  • Report