Compute the Bernoulli numbers
The <https://en.wikipedia.org/wiki/Bernoulli_number Bernoulli numbers> appear in several applications in number theory, includin...
約5年 前
解決済み
Successive zeros
Suppose n is the number of digits a number contains. Now,
12032 - is a valid n=5 digit number. But
10023 - is defined as i...
約5年 前
解決済み
Frugal number
check whether n is a frugal number
* a frugal number is a natural number in a given number base that has more digits than the...
約5年 前
解決済み
Pseudo-vampire number
refer to <https://en.wikipedia.org/wiki/Vampire_number>
Given a number x, determine whether it is a pseudo-vampire number.
...
約5年 前
解決済み
Area-04
The dimension of a rectangle is given. There are two circles of equal size that are inscribed inside it.The circles are tangent ...
約5年 前
解決済み
Evaluate the Struve function
The <https://en.wikipedia.org/wiki/Struve_function Struve function> *H*_a(x) is a solution to an inhomogeneous form of Bessel's ...
約5年 前
解決済み
Weighted Names
A cell is given which contains several names. You've to return those names sorted by their weight.
Weight is to be calculate...
約5年 前
解決済み
Bell Triangle
Form the bell triangle upto nth bell number posotion;
* if n=5
*
y= [1 0 0 0 0;
1 2 0 0...
約5年 前
解決済み
Check Digit - 01
The International Standard Book Number (ISBN) is a numeric commercial book identifier that is intended to be unique.
It used ...
約5年 前
解決済み
Coin distribution
Imagine, u r in a shop. ur bill is n(2200). u want to pay the bill with minimum no of coins u have.
u've coins of - 2000,1000...
約5年 前
解決済み
Hanging cable - 01
The height of the poles is h
the length of the cable is l
u need to find the minimum distance between the poles whic...
Sieve of Eratosthenes
Find the nth lucky prime number.
<https://planetmath.org/luckyprime>
can u find a way for large n?
約5年 前
解決済み
Three...is a magic number.
Yes it is...
It's a magic number...
To help you get rid of that earworm, here's a new Cody problem. You are given a squar...
Sum of big primes without primes
Inspired by Project Euler n°10 (I am quite obviously a fan).
With problem n°250 by Doug, you can find some global methods to ...
約5年 前
解決済み
QWERTY Shift Code Decoder
Decode a string encoded using the QWERTY shift code.
QWERTY shift code is where the message was touch typed but with an offse...
約5年 前
解決済み
QWERTY Shift Encoder
Encode a string using the QWERTY shift code.
This code is where you touch type but are offset by one character to the right.
...
約5年 前
解決済み
Infinite precision division
Develop a function that will divide a very very large integer numerator, supplied to function as a string (e.g., '12233344445555...