Community Profile

# William

Last seen: Today Active since 2012

Semi-retired physicist with interests in numerical modeling and mathematics.

All

#### Content Feed

View by

Solved

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...

1 día ago

Solved

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...

2 días ago

Solved

Easy Sequences 52: Non-squarable Rectangles
Any integer-sided rectangle can be cut into unit rectangles () and rearranged into sets of smaller rectangles. For example the ...

4 días ago

Solved

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 ...

4 días ago

Solved

Easy Sequences 50: Blocked Gaussian Integers
A Gaussian Integer is a complex number whose real and imaginary parts are both integers. A gaussian integer is said to be bloc...

8 días ago

Solved

Easy Sequences 49: Prime Little Omega Function
For an integer , the prime little omega function, , is defined as the total number of distinct prime factors of . So, if , sinc...

9 días ago

Solved

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...

10 días ago

Solved

Given the radius of a sphere r, output its volume V
A sphere has radius r. Determine its volume V.

12 días ago

Solved

Truncate the input value
Given an input x, truncate the value to obtain y. example: x = 5.252 y = 5

13 días ago

Solved

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...

15 días ago

Solved

Determine a value
Determine a y value such that it equals 7

16 días ago

Solved

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...

19 días ago

Solved

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...

19 días ago

Solved

create a function that cubes a number
example: x = 3 y = 27

20 días ago

Solved

Create a function that adds one to a number
ex: x = 1 y = 2

20 días ago

Solved

Easy Sequences 48: Prime Big Omega of Factorial Sequence
For an integer , the prime big omega function, , is defined as the total number prime factors of . So, if , since , therefore ....

21 días ago

Solved

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:...

26 días ago

Solved

Easy Sequences 43: Least Common Fibonacci Number
The Fibonacci sequence is a series whose elements are numbers starting with and , and subsequent Fibonacci numbers are defined...

27 días ago

Solved

Easy Sequences 45: Second Derivative of Inverse Polynomial Function
The inverse of a function, is the function , that reverses . That means that if , then . For example, the function to convert ce...

28 días ago

Solved

Easy Sequences 44: Finding the Smallest Number whose Cube is divisible by a Factorial
Given a integer , our goal is to find the smallest integer , such that divides . For example, for , , because , (since ), and ...

alrededor de 1 mes ago

Solved

Easy Sequences 41: Boxes with Integer Edges
For this problem, we are asked to write a function that will count the number of boxes with integer edges, that has the same giv...

alrededor de 1 mes ago

Solved

Easy Sequences 39: Perfect Squares in Pascal's Triangle
Consider the 2nd, 3rd and 4th diagonals of the Pascal's Triangle, shown highlighted below: ...

alrededor de 1 mes ago

Solved

Quadratic Congruence is a modular equation of the form: . In this exercise you will be given a vector containing the coefficie...

alrededor de 1 mes ago

Solved

Compute the largest number whose prime factors sum to n
This problem deals with a sequence whose tenth term is 36 because the prime factors of 36 (2, 2, 3, 3) sum to 10. The number 32 ...

alrededor de 1 mes ago

Solved

Sum
Sum 1 and 2

alrededor de 2 meses ago

Solved

List the cuban primes
The number 61 is a cuban prime because it is prime and the difference two cubes, 64 and 125. Write a function to list the cuba...

alrededor de 2 meses ago

Solved

Easy Sequences 35: Cutting a donut to Semi-prime pieces
The figure below illustrates how a torus (donut shape) can be cut in pieces with only cuts: ...

alrededor de 2 meses ago

Solved

Easy Sequences 36: Hyperbolic Lattice Points
The graph, shown below, of the hyperbola: , passes through four positive lattice points:. ...

alrededor de 2 meses ago

Solved

Output the sum of all the odd integers
Example: x = [ 1 2 3 4 5 6 7 8 9 ] y = 25

alrededor de 2 meses ago