# Tag Archives: counter

## Count subarrays of atleast size 3 forming a Geometric Progression (GP)

Given an array arr[] of N integers, the task is to find the count of all subarrays from the given array of at least size… Read More »

## Count possible values of K such that X – 1 and Y – 1 modulo K is same

Given two numbers X and Y, the task is to find the count of integers K which satisfies the equation (X – 1) % K… Read More »

## Count of Ordered Pairs (X, Y) satisfying the Equation 1/X + 1/Y = 1/N

Given a positive integer N, the task is to find the number of ordered pairs (X, Y) where both X and Y are positive integers,… Read More »

## Ripple Counter in Digital Logic

Prerequisite – Counters, n-bit Johnson Counter A counter is basically used to count the number of clock pulses applied to a flip-flop. It can also… Read More »

## Counters in Digital Logic

According to Wikipedia, in digital logic and computing, a Counter is a device which stores (and sometimes displays) the number of times a particular event… Read More »