Hy!
Thanks a lot. I'll try.
Charlla :D
----------
you'll have to spot the pattern.
There is a 2 parameter recursion I know that works, but I dunno why.
Furthermore, you can look into pell's equation, you can transform the problem into pell's equation and use the algorithm for pell to do it ...
Search found 12 matches
- Sun Dec 21, 2003 4:11 pm
- Forum: Volume 1 (100-199)
- Topic: 138 - Street Numbers
- Replies: 93
- Views: 21184
- Fri Dec 19, 2003 5:08 am
- Forum: Volume 1 (100-199)
- Topic: 138 - Street Numbers
- Replies: 93
- Views: 21184
138 - Understanding
Hy!
I understood the relation 1 + 2 + ... + (n-1) = (n+1) + (n+2) + ... + ,m
that you said. But, how can I "guess" that after 6, the next number should
be 35?
Thanks,
Charlla :roll:
==========
Hi!
I can give you a hint if you want.
You should find first 10 pairs of numbers n, m with a property ...
I understood the relation 1 + 2 + ... + (n-1) = (n+1) + (n+2) + ... + ,m
that you said. But, how can I "guess" that after 6, the next number should
be 35?
Thanks,
Charlla :roll:
==========
Hi!
I can give you a hint if you want.
You should find first 10 pairs of numbers n, m with a property ...
- Sat Dec 13, 2003 5:46 am
- Forum: Volume 2 (200-299)
- Topic: 209 - Triangular Vertices
- Replies: 51
- Views: 11857
Problem 209 - Input Examples
Hy!
Can anyone help me? I need some critical input examples for problem 209.
Thanks,
Charlla
Can anyone help me? I need some critical input examples for problem 209.
Thanks,
Charlla
- Sat Dec 13, 2003 5:10 am
- Forum: Volume 101 (10100-10199)
- Topic: 10198 - Counting
- Replies: 30
- Views: 44410
10198
Hy!
Thanks a lot!
Charlla. :)
-------------
When you have a really big number, let's say 1000 digit, the only way to keep it is an array. Now, if you want add, subrtact, multiplay or divide such numbers you have to write alogithms of addition, subtraction...
Such procedures/methods are called ...
Thanks a lot!
Charlla. :)
-------------
When you have a really big number, let's say 1000 digit, the only way to keep it is an array. Now, if you want add, subrtact, multiplay or divide such numbers you have to write alogithms of addition, subtraction...
Such procedures/methods are called ...
- Fri Dec 05, 2003 3:41 am
- Forum: Volume 1 (100-199)
- Topic: 138 - Street Numbers
- Replies: 93
- Views: 21184
Problem 138 - Pell's Formula
Hy!
How can I generate the next pair of numbers using the Pell's Formula
(if it is possible, of course.)?
Thanks,
Charlla
How can I generate the next pair of numbers using the Pell's Formula
(if it is possible, of course.)?
Thanks,
Charlla

- Thu Dec 04, 2003 12:26 am
- Forum: Volume 1 (100-199)
- Topic: 138 - Street Numbers
- Replies: 93
- Views: 21184
Problem 138
Hy!
There are a relantionship between [6 , 8] and [35, 49]
? I tried to find but I didn't get it.
If I find it, I will generate the other numbers in a easy way.
Thanks,
Charla
There are a relantionship between [6 , 8] and [35, 49]
? I tried to find but I didn't get it.
If I find it, I will generate the other numbers in a easy way.
Thanks,
Charla

- Sun Nov 30, 2003 3:17 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10198 - Counting
- Replies: 30
- Views: 44410
- Sun Nov 30, 2003 2:21 am
- Forum: Volume 101 (10100-10199)
- Topic: 10198 - Counting
- Replies: 30
- Views: 44410
- Sat Nov 29, 2003 3:44 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10198 - Counting
- Replies: 30
- Views: 44410
- Fri Nov 28, 2003 5:04 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10198 - Counting
- Replies: 30
- Views: 44410
Re: big nubmers
Hey,
How can I solve this problem??? I mean, what can I do when, after k becomes 70-80, and the numbers become very big (being 64 bit )????
Thanks,
Charla
--------------
My code is:
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include<io.h>
unsigned long vetor_T[1000];
int ...
How can I solve this problem??? I mean, what can I do when, after k becomes 70-80, and the numbers become very big (being 64 bit )????
Thanks,
Charla
--------------
My code is:
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include<io.h>
unsigned long vetor_T[1000];
int ...
- Fri Nov 28, 2003 4:59 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10198 - Counting
- Replies: 30
- Views: 44410
The recurrence of 10198
Hy Dmytro_Chernysh,
I would like to know if you got Accepted using this recurence:
f[1]:=2;
f[2]:=5;
f[3]:=13;
f[n]:=2*f[n-1]+f[n-2]+f[n-3].
I'm asking because I tried do use it, but I got WA.
Maybe, I am having problems like ravingavin. The numbers became very big and their representation ...
I would like to know if you got Accepted using this recurence:
f[1]:=2;
f[2]:=5;
f[3]:=13;
f[n]:=2*f[n-1]+f[n-2]+f[n-3].
I'm asking because I tried do use it, but I got WA.
Maybe, I am having problems like ravingavin. The numbers became very big and their representation ...
- Mon Oct 13, 2003 1:44 am
- Forum: Volume 101 (10100-10199)
- Topic: 10198 - Counting
- Replies: 30
- Views: 44410
10198 - Counting
I'm trying to solve the problem n