Check whether a number is Plus Perfect Number or not?
Duration: 3 min
This video lesson is available to enrolled students.
Inside: a video lesson and guided study material.
Module outline
- TCS One Shot Free Videos & Notes: TCS Preparation
- Numerical Ability (Foundation Section): Ratio and Proportion (Ratios), Divisibility Rules, Data Interpretation, Mixture and Alligation, Permutation and Combination, Logarithm, Number System, HCF LCM, Sequence and Series (Series), Speed Time and Distance, Percentage, Average, Powers and Exponents (Surds and Indices), Algebra, Probability, Profit and Loss, Simple Interest and Compound Interest, Time and Work, Pipe and Cistern, Mensuration and Geometry, Mental Ability, Age Problems, Statistics, Arithmetic, Partnership, Speed Mathematics and Basic Mathematics
- Reasoning Ability (Foundation Section): Series (Number and Letter Series) (Numerical Relations and Reasoning), Coding Decoding, Data Sufficiency, Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning), Syllogisms, Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning), Seating Arrangements, Blood Relations, Directions (Direction Test), Analytical Reasoning (Counting Figures Reasoning), Puzzle Solving (Puzzles), Calendar, Clock, Cubes & Dices, Selection Decision Table (Decision Making), Crypt Arithmetic, Venn Diagram, Data Arrangement, Inequality, Analogy, Ranking, Order and Sequence, Logical Sequence Of Words
- New Pattern-Verbal Ability (Foundation Section): Sentence Completion (Fill in the blanks), English Writing Ability
- Old Pattern-Verbal Ability (Foundation Section): Vocabulary, Noun, Subject Verb Agreement (Verb Noun Agreement), Adjectives, Tenses, Pronoun, Preposition, Articles, Direct and Indirect Speech, Conjunction, Modals, Sentence Re-arrangements (Para Jumbles) (Narrative Sequencing), Sentence Correction (Error Correction), Comprehension / Reading Comprehension / Unseen Passages (Critical Reasoning) (Paragraph Questions), Verbal Analogy (Word Based Analogy), Active Passive Voice (Voice), Determiner, Facts, Inference and Judgements, Adverb, Cloze Test (Cloze Passage), Sentence Construction, Verb
- Advanced Quantitative Ability: TCS NQT Advanced Quantitative Ability
- Advanced Reasoning Ability: TCS NQT Advanced Reasoning Ability
- Advanced Coding: Coding Questions by Yash Sir, C Programming by Yash Sir, Python for Placements by Yash Sir, DSA using Python, Object Oriented Programming (OOPS), Programming in C++, Java
- TCS Full Length Mock Test:
- TCS Interview & Resume Prep: MR & HR Interview Preparation, TCS Interview Preparation, Mock Interview, Interview Recordings, Resume Preparation, Resume Review
- Mega Test:
- Grand Test:
AI summary & chapters
AI Summary
An AI-generated summary of this video lecture.
The video is an educational lecture on programming concepts, specifically focusing on identifying Armstrong numbers. It begins with an introduction to the Knowledge Gate brand and its social media channels. The main content starts with a logic puzzle to find a missing number in a grid, followed by a problem statement for a program to check if a number is a 'Plus Perfect Number'. The instructor then transitions to the core topic: Armstrong numbers. The definition is presented, stating that an Armstrong number of order n is a positive integer where the sum of its digits each raised to the power of the number of digits equals the number itself. The instructor provides a formula and demonstrates the concept with examples, including 153, 120, 1253, and 1634, showing the step-by-step calculation of the sum of the digits raised to the power of the number of digits. The video concludes by confirming that 153 and 1634 are Armstrong numbers, while 120 and 1253 are not, based on the calculations.
Chapters
0:00 – 2:00 00:00-02:00
The video opens with the 'KNOX MEEHEGATF' logo, which is a stylized version of 'KNOWLEDGE GATE'. It then transitions to a slide showing the 'KNOWLEDGE GATE' brand and its associated social media handles for various educational topics like GATE, Placement Prep, and Coding. The main lecture begins with a logic puzzle on a blackboard, asking to 'Insert the missing number' in a grid where the sum of the numbers in each row equals the number on the right. The instructor, Yash Jain Sir, is visible in a small window. The topic then shifts to a programming problem, Q17, which asks to write a program to check if a number is a 'Plus Perfect Number'. The input format is an integer N, and the output is 'True' if it is a plus perfect number, 'False' otherwise. Two examples are given: Input 153 outputs True, and Input 369 outputs No. The instructor explains the problem statement, which is a variation of the Armstrong number concept.
2:00 – 2:46 02:00-02:46
The lecture continues with the definition of an Armstrong number. The on-screen text states: 'Given a number x, determine whether the given number is Armstrong number or not. A positive number of n digits is called an Armstrong number of order n (order is number of digits) if: abcd... = pow(a,n) + pow(b,n) + pow(c,n) + pow(d,n) + ...'. The instructor explains this formula, emphasizing that the sum of each digit raised to the power of the total number of digits must equal the original number. He then provides examples. For 153, he calculates 1^3 + 5^3 + 3^3 = 1 + 125 + 27 = 153, confirming it is an Armstrong number. For 120, he calculates 1^3 + 2^3 + 0^3 = 1 + 8 + 0 = 9, which is not 120, so it is not an Armstrong number. He repeats this for 1253 (1^4 + 2^4 + 5^4 + 3^4 = 1 + 16 + 625 + 81 = 723) and 1634 (1^4 + 6^4 + 3^4 + 4^4 = 1 + 1296 + 81 + 256 = 1634), confirming 1634 is an Armstrong number. The instructor uses a yellow marker to circle the numbers and calculations on the blackboard to highlight the process.
The video provides a structured lesson on identifying Armstrong numbers, a classic programming problem. It begins by establishing the context of the educational channel and then presents a problem statement for a 'Plus Perfect Number', which is a direct synonym for an Armstrong number. The core of the lesson is the definition and application of the formula: the sum of each digit of a number raised to the power of the total number of digits. The instructor methodically demonstrates this logic with four distinct examples, showing the step-by-step calculation for each. This approach reinforces the concept by contrasting numbers that satisfy the condition (153, 1634) with those that do not (120, 1253), making the learning process clear and practical for students preparing for coding interviews or competitive exams.

