Community Profile

# Luong

Last seen: 3ヶ月 前 2022 年からアクティブ

Programming Languages:
MATLAB

バッジを表示

#### Content Feed

Find Logic 31

3ヶ月 前

Find Logic 32

3ヶ月 前

Find Logic 30

3ヶ月 前

Find Logic 29

3ヶ月 前

Find Logic 28

3ヶ月 前

Find Logic 27

3ヶ月 前

Find Logic 26

3ヶ月 前

Find Logic 25

3ヶ月 前

Find Logic 24

3ヶ月 前

Find Logic 23

3ヶ月 前

Find Logic 22

3ヶ月 前

Find Logic 21

3ヶ月 前

Find Logic 20

5ヶ月 前

Project Euler: Problem 4, Palindromic numbers
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 ...

7ヶ月 前

Generalised Hamming Number
Inspired by Project Euler n°204 and Problem 1308 by James A generalised Hamming number of type n, has no prime factor larger ...

7ヶ月 前

Proper Factors
Generate the proper factors of input integer x and return them in ascending order. For more information on proper factors, refer...

7ヶ月 前

Divisible by n, Composite Divisors
Pursuant to <http://www.mathworks.com/matlabcentral/cody/problems/42453-divisible-by-n-prime-vs-composite-divisors Divisible by ...

7ヶ月 前

Divisible by n, Truncated-number Divisors
Some divisors only require a few numbers at the end of the number in question to determine divisibility, no matter how long. Exa...

7ヶ月 前

Divisible by n, prime divisors from 20 to 200
Pursuant to the previous problem (linked below), this problem requires a function that checks for divisibility of large numbers ...

7ヶ月 前

Divisible by n, prime divisors - 11, 13, 17, & 19
Divisibility checks against prime numbers can all be accomplished with the same routine, applied recursively, consisting of add ...

7ヶ月 前

Prime factor digits
Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

7ヶ月 前

(Linear) Recurrence Equations - Generalised Fibonacci-like sequences
This problem is inspired by problems <http://uk.mathworks.com/matlabcentral/cody/problems/2187-generalized-fibonacci 2187>, <htt...

7ヶ月 前

How many Fibonacci numbers?
Find the number of unique Fibonacci numbers (don't count repeats) in a vector of positive integers. Example: x = [1 2 3 4...

7ヶ月 前

Numbers with prime factors 2, 3 and 5.
Make a function which takes one positive integer n and returns a matrix with the numbers of the form (2^i)*(3^j)*(5^k) which are...

7ヶ月 前

Divisible by n, prime divisors (including powers)
For this problem, you will be provided an array of numbers (not necessarily in order). Return the array of numbers with only pri...

7ヶ月 前

Odd times even numbers in a matrix
First count the number of odd numbers in x, then the number of even. Return their product. example: x = [1 2] One odd ...

7ヶ月 前

Return unique values without sorting
If the input vector A is [42 1 1], the output value B must be the unique values [42 1] The values of B are in the same order a...

7ヶ月 前

Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...

7ヶ月 前

Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

7ヶ月 前

Multiples of a Number in a Given Range
Given an integer factor _f_ and a range defined by _xlow_ and _xhigh_ inclusive, return a vector of the multiples of _f_ that fa...

7ヶ月 前