kdb+ and q
Questions related to kdb+ and q
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Project Euler #7: 10,001st prime

https://projecteuler.net/problem=7 By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the 10,001st prime number? Solution 1 Use Eratosthenes’ Sieve to generate enough primes. Then pick the 10,...

Sieve_of_Eratosthenes_animation.gif
SJT by Contributor III
  • 185 Views
  • 1 replies
  • 2 kudos

Resolved! Project Euler #6

6. Sum square difference https://projecteuler.net/problem=6 The sum of the squares of the first ten natural numbers is 385. The square of the sum of the first ten natural numbers is 3025. Hence the difference between the sum of the squares of the fir...

SJT by Contributor III
  • 294 Views
  • 5 replies
  • 2 kudos

Execute async on self?

Hi, I have a decision tree function and rather than run it recursively and building a stack I'd like to trigger the next execution asyncly. The idea is that when the process is idle it will handle then next branch. The idea is to have something like ...

Calum_H by New Contributor II
  • 146 Views
  • 2 replies
  • 0 kudos

What is it about the Iversonian family?

Arthur Whitney with Turing Award winner Kenneth E. Iverson, 1989. Photo: Rob Hodgkinson I simply got hooked. Someone showed me, way back then, q’s ancestor language APL, and I never really wanted to write code any other way. I’ve learned other langua...

KEI and ATW copy.png
SJT by Contributor III
  • 184 Views
  • 1 replies
  • 3 kudos