Easy Sequences 55: "Ugly" Rectangles?
A positive integer is called a regular number, if and only if there exist a non-negative integer , such that . For some reason...
4年以上 前
解決済み
Compute the Sequence of the Day
A sequence starts with 1 and 2, and each subsequent term is the sum of the digits of the product of the previous two terms. As a...
4年以上 前
解決済み
AVIRIS Hyperspectral Bit Mask
The AVIRIS data sometimes is provided uncropped. This creates edge regions with values of "-50". Shown is AVIRIS Moffett Field i...
4年以上 前
解決済み
UICBioE240 problem 1.11
Store a series of numbers into a 4 by 4 matrix, starting with the first few positions going right and down, and leaving the rest...
4年以上 前
解決済み
Easy Sequences 51: Positive Gaussian Primes
A Gaussian Prime is a gaussian integer that cannot be decomposed as product of two non-unit gaussian integers (the complex units...
4年以上 前
解決済み
Easy Sequences 53: Greatest Proper Divisor
The greatest proper divisor () of an integer is the largest integer , such that and . Furthermore, we define: .
Below is the...
Flip the diagonal values
Write a program that flip the elements of main diagonal , upper and lower diagonal values of a sqare matrix.
For example if a ...
Amazing circle of numbers 1 to n
For given natural number n, create amazing circle of numbers 1 to n without a repeat.
This circle is that the sum of any two ad...
Truncate the input value
Given an input x, truncate the value to obtain y.
example:
x = 5.252
y = 5
4年以上 前
解決済み
Siren frequency and Doppler effect.
The Doppler effect is described on OpenStax University Physics at https://openstax.org/books/university-physics-volume-1/pages/1...
Easy Sequences 47: Boxes with Prime Edges
This is related to problem "Easy Sequences 41: Boxes with Integer Edges". However, here we will be investigating a smaller-sized...
4年以上 前
解決済み
A sequence of Ones
You are given number(s) with all digits - 1.
Your answer will depend on the count of 1 in the given number, for example -
x1...
Easy Sequences 22: Sum of Proper Fractions
Let 'F' be the set of all proper fractions in lowest term, whose denominator is less than or equal 'd'. So, for d = 10, we have:...