It could possibly be a hardware error with the processor or RAM actually damaged and/or faulty. I'd suggest you take it back while it's under warranty.
You could try zapping the PRAM (do a search on PRAM, you'll find it) but this sounds like the sort of thing that's only caused when a component is faulty. It might even be the hard-drive. Whatever the case, get it looked at promptly.