Author |
Topic: Number sequence (Read 584 times) |
|
Munchkin
Guest
|
Not too sure if it's been posted before, but here goes: What's the next number in the sequence? 0, 0, 1, 0, 0, 4, 2, 4, 1, 0, 1, 4
|
|
IP Logged |
|
|
|
K Sengupta
Senior Riddler
Gender:
Posts: 371
|
|
Re: Number sequence
« Reply #1 on: Jun 20th, 2007, 10:29am » |
Quote Modify
|
Let the pth term of the sequence be S(p). Then, S(p) = p*(100/p - [100/p]) where [n] = greatest integer < = n In other words, S(p) is equal to the remainder when 100 is divided by p Thus, S(1) = 0;; S(2) = 0; S(3) = 1; …., and so on Now, S(13) = 9, and consequently: The required next number of the sequence is 9. Reference: http://www.research.att.com/~njas/sequences/?q=0%2C+0%2C+1%2C+0%2C+0%2C+ 4%2C+2%2C+4%2C+1%2C+0%2C+1%2C+4&language=english&go=Search
|
« Last Edit: Jun 20th, 2007, 10:38am by K Sengupta » |
IP Logged |
|
|
|
|