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 64: Base-14 Arithmetic Function
For an integer , the base-14 arithmetic function, , is defined as follows: Convert to base-14, using the letters '' for digits...

6 hours ago

Solved

Wordle
Wordle is an english game where you need to guess a 5 letter word. For each guess you'll receive a feedback for the placement of...

3 days ago

Solved

Time reverse indices
Time reverse the index values as follows IndexIn = [7 1 0] IndexOut = [7 6 0] Note that the indices are zero based and so...

4 days ago

Solved

Easy Sequences 66: Fractional Part of Sum of Consecutive Powers over a Prime
Given three postive integers, , and , create the function , defined as follows: Where is the th prime and the s...

5 days ago

Solved

Sum of two number using (regexp, varargin) comand?
Sum two number a &b and get there result in c using the rexp and varargin comand.

5 days ago

Solved

Backgammon #5 - Valid Move?
A previous problem in this occasional series (Problem 45967) set up a possible representation of a backgammon board: White ston...

7 days ago

Solved

List the dopey numbers
If vile numbers have binary representations that end with an even number of zeros (even vile), then numbers with binary represe...

7 days ago

Solved

Basic: fft
Calculate the value using fft

8 days ago

Solved

Find a Prime Number
Find a prime number from a vector Example: [2 51 8 65 19] a = 51

8 days ago

Solved

List the vile numbers
Evil numbers, the subject of Cody Problem 2733 have an even number of ones in their binary representations, whereas odious numbe...

8 days ago

Solved

Easy Sequences 32: Almost Pythagorean Triples
An Almost Pythagorean Triple (abbreviated as "APT'), is a set of 3 integers in which square of the largest element, which we wil...

9 days ago

Solved

Multiply 2 Numbers
Multiply a * b a = 80 & b = 90

9 days ago

Solved

List the Beatriz numbers
Write a function to find integers less than or equal to an input value that solve the equation . The function gives the sum o...

10 days ago

Solved

Backgammon #4 - Dice Probabilities
Previous problems in this series have looked at how a backgammon board might be represented, and board positions manipulated and...

11 days ago

Solved

Backgammon #3 - Display a Board Position
A previous problem in this occasional series (Problem 45967) set up a possible representation of a backgammon board: White ston...

13 days ago

Solved

Maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not count...

14 days ago

Solved

Draw 'P' !!!
Draw a n by n matrix 'P' using 0s and 1s. (n is odd and greater than 4) if n=5 , then the output will be [1 1 1 1 1 1 0 0 0...

15 days ago

Solved

Find the summation, mean, median, mode and standard deviation of a given array.
An array is given. Find out the summation, mean, median, mode and standard deviation of a given array. If x=[1,2,2,3,3,3,4,4,4,...

15 days ago

Solved

Is A matrix the inverse of B matrix ?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse(A,B) ans = 1

15 days ago

Solved

A previous problem in this occasional series (Problem 45967) set up a possible representation of a backgammon board: White ston...

17 days ago

Solved

Easy Sequences 62: Sum of Omega-3 Function
For an integer , the prime big omega function, , is defined as the total number of prime factors of . If , since , therefore . ...

18 days ago

Solved

Total resistance of a network of resistors in series and parallel
What is the total resistance of a network of resistors in series and in parallel? A matrix R contains the resistances (in Ohm) ...

18 days ago

Solved

Total resistance of resistors in parallel
What is the total resistance of a number of resistors in parallel? A vector R contains the resistances (in Ohm) of n resistors,...

18 days ago

Solved

Total resistance of resistors in series
What is the total resistance of a number of resistors in series? A vector R contains the resistances (in Ohm) of n resistors, w...

18 days ago

Solved

SatCom #10: Rate of Precesion of Orbit Plane (Nodal Precession)
Satellite and Space Engineering - Problem #10 This is part of a series of problems looking at topics in satellite and space com...

19 days ago

Solved

Satellite and Space Engineering - Problem #9 This is part of a series of problems looking at topics in satellite and space comm...

20 days ago

Solved

Satellite and Space Engineering - Problem #8 This is part of a series of problems looking at topics in satellite and space comm...

20 days ago

Solved

Easy Sequences 59: Almost Twin Primes
A positive integer pair , is called an "almost twin prime pair", if one of the pair is a prime and the other is either a prime o...

27 days ago

Solved

Easy Sequences 58: Curious Prime-Rational Functions
For some prime numbers and where , a rational function , is defined as follows: . Using the output , another rational functi...

30 days ago

Solved

Easy Sequences 56: Counting "Ugly" Numbers
A positive integer is called a regular number, if and only if there exist a non-negative integer , such that . For some reason...

1 month ago