Mathematical Algorithms | Number Digits

Recent Articles on Number Digits !

  1. Automorphic Number
  2. Self Descriptive Number
  3. Motzkin number
  4. Narcissistic number
  5. Schröder–Hipparchus number
  6. Number of n digit stepping numbers
  7. Deserium Number
  8. K’th Boom Number
  9. Pandigital Product
  10. Neon Number
  11. Harshad (Or Niven) Number
  12. Tidy Number (Digits in non-decreasing Order)
  13. Seeds (Or Seed Roots) of a number
  14. Numbers having Unique (or Distinct) digits
  15. Build Lowest Number by Removing n digits from a given number
  16. n-th number with digits in {0, 1, 2, 3, 4, 5}
  17. Number of Digits in a^b
  18. Brahmagupta Fibonacci Identity
  19. First digit in factorial of a number
  20. Number with even sum of digits
  21. Largest even digit number not greater than N
  22. Number of digits in 2 raised to power n
  23. n-th number whose sum of digits is ten
  24. Minimum digits to remove to make a number Perfect Square
  25. Count digits in given number N which divide N
  26. Count digit groupings of a number with given constraints
  27. Print first k digits of 1/n where n is a positive integer
  28. Program to check if a given number is Lucky
  29. Check if a given number can be represented in given a no. of digits in any base
  30. Find element using minimum segments in Seven Segment Display
  31. Find nth term of the Dragon Curve Sequence
  32. Find the Largest Cube formed by Deleting minimum Digits from a number
  33. Find next greater number with same set of digits
  34. Find the Number which contain the digit d
  35. Find nth number that contains the digit k or divisible by k
  36. Find N integers with given difference between product and sum
  37. Find the number of consecutive zero at the end after multiplying n numbers
  38. Find first and last digits of a number
  39. Find a number x such that sum of x and its digits is equal to given n
  40. Find smallest permutation of given number
  41. Find maximum number that can be formed using digits of a given number
  42. Find count of digits in a number that divide the number
  43. Find the occurrences of digit d in the range [0..n]
  44. Find sum of digits in factorial of a number
  45. Find n-th element in a series with only 2 digits (4 and 7) allowed
  46. First digit in product of an array of numbers
  47. Find n’th number in a number system with only 3 and 4
  48. Find the smallest number whose digits multiply to a given number n
  49. Find the Largest number with given number of digits and sum of digits
  50. Form the largest number using at most one swap operation
  51. Form a number using corner digits of powers
  52. Position of n among the numbers made of 2, 3, 5 & 7
  53. Powers of 2 to required sum
  54. Expressing a number as sum of consecutive | Set 2 (Using odd factors)
  55. Sum of digits written in different bases from 2 to n-1
  56. Given a number N in decimal base, find number of its digits in any base (base b)
  57. Reverse a number using stack
  58. Check if a number is jumbled or not
  59. Number of digits in the product of two numbers
  60. Form the smallest number using at most one swap operation
  61. Difference between sums of odd and even digits
  62. Numbers having difference with digit sum more than s
  63. Count n digit numbers not having a particular digit
  64. Program to check Plus Perfect Number
  65. Total numbers with no repeated digits in a range
  66. K-th digit in ‘a’ raised to power ‘b’
  67. Possible to make a divisible by 3 number using all digits in an array
  68. Recursive sum of digit in n^x, where n and x are very large
  69. Check if all digits of a number divide it
  70. Counting numbers whose difference from reverse is a product of k
  71. Maximize a number considering permutations with values smaller than limit
  72. Number of decimal numbers of length k, that are strict monotone
  73. Count square and non-square numbers before n
  74. Counting numbers of n digits that are montone
  75. Count numbers in range L-R that are divisible by all of its non-zero digits
  76. Round the given number to nearest multiple of 10
  77. First occurrence of a digit in a given fraction
  78. Check if a number can be written as sum of three consecutive integers
  79. Count numbers with unit digit k in given range
  80. Convert to number with digits as 3 and 8 only
  81. Find a Number X whose sum with its digits is equal to N
  82. Count different numbers that can be generated such that there digits sum is equal to ‘n’
  83. Check whether a number can be represented by sum of two squares
  84. Total no of 1’s in numbers
  85. Largest number with prime digits
  86. Largest smaller number possible using only one swap operation
  87. Representation of a number in powers of other
  88. Sum of digits of a given number to a given power
  89. Number of n digit numbers that do not contain 9
  90. Check if given number can be represented as sum of two great numbers
  91. Biggest integer which has maximum digit sum in range from 1 to n
  92. Largest number less than N whose each digit is prime number
  93. Smallest x such that 1*n, 2*n, … x*n have all digits from 1 to 9
  94. Count of numbers satisfying m + sum(m) + sum(sum(m)) = N
  95. Next higher palindromic number using the same set of digits
  96. Program to count digits in an integer (3 Different Methods)
  97. Next higher number using atmost one swap operation
  98. Smallest number k such that the product of digits of k is equal to n
  99. Count number of digits after decimal on dividing a number
  100. Find n-th element in a series with only 2 digits (4 and 7) allowed | Set 2 (log(n) method)
  101. To check a number is palindrome or not without using any extra space
  102. Minimum number with digits as 4 and 7 only and given sum
  103. Number of times a number can be replaced by the sum of its digits until it only contains one digit
  104. Print last k digits of a^b (a raised to power b)
  105. Number of digits in the nth number made of given four digits
  106. Count total number of digits from 1 to n
  107. Count numbers with difference between number and its digit sum greater than specific value
  108. Given a number n, find the first k digits of n^n
  109. Generate k digit numbers with digits in strictly increasing order
  110. Pandigital number in a given base
  111. Reverse digits of an integer with overflow handled
  112. Number of occurrences of 2 as a digit in numbers from 0 to n
  113. Digital Root (repeated digital sum) of the given large integer
  114. Largest number smaller than or equal to n and digits in non-decreasing order
  115. Check if frequency of each digit is less than the digit
  116. N’th palindrome of K digits
  117. Maximum and minimum sums from two numbers with digit replacements
  118. Last non-zero digit of a factorial
  119. Count numbers with same first and last digits
  120. Generate all palindromic numbers less than n
  121. Minimum sum of two numbers formed from digits of an array
  122. Smallest number by rearranging digits of a given number
  123. Largest palindrome which is product of two n-digit numbers
  124. Count ways to spell a number with repeated digits
  125. Finding sum of digits of a number until sum becomes single digit
  126. Finding number of digits in n’th Fibonacci number
  127. Reverse and Add Function
  128. Print all n-digit numbers whose sum of digits equals to given sum
  129. Program to find last digit of n’th Fibonnaci Number
  130. Count positive integers with 0 as a digit and maximum ‘d’ digits
  131. Count ‘d’ digit positive integers with 0 as a digit
  132. Count numbers having 0 as a digit
  133. Check if a given number is Fancy
  134. Find the most frequent digit without using array/string
  135. Count total number of N digit numbers such that the difference between sum of even and odd digits is 1
  136. Count of n digit numbers whose sum of digits equals to given sum
  137. Total number of non-decreasing numbers with n digits
  138. Count numbers from 1 to n that have 4 as a digit
  139. Compute sum of digits in all numbers from 1 to n
  140. Remove repeated digits in a given number
  141. Replace all ‘0’ with ‘5’ in an input Integer
  142. Count numbers that don’t contain 3
  143. Write a C program to reverse digits of a number

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.



My Personal Notes arrow_drop_up