had this problem with my 08 g35 sedan as well, and after a day of suffering...
*FIXED - my [email protected]
$$ put in the battery backwards.
1.opened it up
2.switched battery to correct side
if the key takes time to recognize the car just put it in the slot for the key and your car will start to recognize it.