Community Profile

# Ramon Villamangca

Last seen: Today Con actividad desde 2018

Learner and Math Enthusiast

Programming Languages:
C++, Java, Javascript, MATLAB, Ruby, Perl, Swift, Assembly
Spoken Languages:
English

All

Ver insignias

#### Content Feed

Ver por

Resuelto

List the Euclid numbers
Euclid proved that the number of primes is infinite with the following argument. Suppose the primes form a finite set , , . Comp...

alrededor de 1 hora hace

Resuelto

Exhaust all possible logical vectors
Input a length argument and list all possible logical vectors of that length. My solution is of size 29. Can you find an even s...

alrededor de 13 horas hace

Resuelto

Find two numbers that add up to the target value
Given a vector A and target n, return the indices of two numbers that add up to n. If there are multiple solutions, return the f...

alrededor de 14 horas hace

Resuelto

Caesar Cipher
Given a input word x and a shift n, encrypt the word with caesar cipher of shift n.

alrededor de 14 horas hace

Problema

Easy Sequences 84: Digits of Powers of 5
OEIS sequence #A008566, deals with the following series: This sequence is the digits of powers of 5 listed si...

1 día hace | 0 | 0 solvers

Resuelto

Odd row
Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The firs...

4 días hace

Resuelto

Add the two numbers to equal 3

4 días hace

Problema

Easy Sequences 83: Digits of Powers of 3
This problem is a simpler version of 'Easy Sequences 82: Digits of Powers of 2'. Given integers and , we are asked to return th...

6 días hace | 0 | 0 solvers

Resuelto

Longest Collatz Sequence
Inspired by Projet Euler n°14. The Collatz iterative sequence (See Cody problem n° 2103 and 211) is defined for the set of po...

8 días hace

Resuelto

Fill an array given a sum and array length values
Fill an array with random numbers so that their sum and array length will be equal to the given values as input. Function will ...

8 días hace

Resuelto

Convert float to base N
The matlab function dec2base converts a positive integer number to a specified base. Extend it so that it works with non intege...

8 días hace

Resuelto

After succesfully completing the French Conundrum, you have decided to take a vacation. Your trip is amongst the mighty mountai...

9 días hace

Resuelto

French Conundrum
The French army is trapped, sorrounded in backwards direction (South and West directions) by enemy traps and ambushes. You are n...

9 días hace

Resuelto

Acid-Base Chemistry: Which side of the reaction is more favorable?
In an Acid-Base reaction, there is always going to be an acid, a base, a conjugate acid, and a conjugate base. When provided wit...

9 días hace

Problema

Digits of Powers of 2
In Project Euler Problem #16, we are asked for sum of the digits of powers of 2. Here we will be asked for more than that. Give...

10 días hace | 0 | 3 solvers

Resuelto

That's some divisor you've got there...
Given a positive integer x, calculate the sum of all of the divisors of the number. Please include the number itself in your fi...

10 días hace

Resuelto

sum of vectors
sum of vectors

10 días hace

Resuelto

volume of a cone
create a program that allows us to calculate the volume of a cone using radius "r" and height "h"

10 días hace

Resuelto

volume of a cube
volume of a cube with "x" side

10 días hace

Resuelto

area of a circle
area of a circle with "r" as radius

10 días hace

Resuelto

area of a rectangle
area of a rectangle with base "b" and height "h"

10 días hace

Resuelto

area of a triangle
area of a triangle, given x as a side

10 días hace

Resuelto

area of a square
area of a square given x as a side

10 días hace

Resuelto

Compute the unitary totient of a number
The totient function , the subject of Cody Problems 656 and 50182, gives the number of integers smaller than that are relativel...

10 días hace

Resuelto

Sum the unitary divisors of a number
Cody Problems 1933 and 46898 deal with , the sum of divisors function. This problem deals with , the sum of unitary divisors fun...

10 días hace

Resuelto

Count the unitary divisors of a number
Cody Problem 56738 asks for a list of the unitary divisors of a number. For this problem, write a function to count the unitary ...

10 días hace

Resuelto

List unitary divisors of a number
A unitary divisor of a number divides and satisfies gcd(,) = 1. For example, 9 is a unitary divisor of 18 because gcd(9,2) = ...

10 días hace

Resuelto

surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...

12 días hace

Resuelto

Determine if a given input is even or odd?
Given an input, determine if even or odd.

12 días hace