Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

Prime Fibonacci

Language: Editor: Layout:
- ] Show input
Compilation time: 0,14 sec, absolute running time: 0,09 sec, cpu time: 0,08 sec, average memory usage: 14 Mb, average nr of threads: 3 
fork mode |  history  | discussion
Warning(s):
(18:13) The variable 'p' is assigned but its value is never used
(18:27) The variable 'sum1' is declared but never used
Error(s):
Exception in user code:

System.InvalidOperationException: Cannot read keys when either application does not have a console or when console input has been redirected from a file. Try Console.Read.
   at System.Console.ReadKey(Boolean intercept)
   at Rextester.Program.Main(String[] args)
2 
2 3 
2 3 5 
2 3 5 13 
2 3 5 13 89 
2 3 5 13 89 233 
2 3 5 13 89 233 1597 
2 3 5 13 89 233 1597 28657 
2 3 5 13 89 233 1597 28657 514229 
2 3 5 13 89 233 1597 28657 514229 433494437 
2 3 5 13 89 233 1597 28657 514229 433494437 -1323752223 
2 3 5 13 89 233 1597 28657 514229 433494437 -1323752223 -811192543 
2 3 5 13 89 233 1597 28657 514229 433494437 -1323752223 -811192543 -298632863