We humans have 100 billion neurons in our brain, but only 23,000 genes. That's only one gene for every 4 million neurons, hardly enough for the genes to be determining the action of every neuron.
Yet, abstractly, neurons are all alike, even as some are long wirey threads, and others resemble dense bushes. We certainly have enough genes to act as recipes for basic neural development, neural migration and placement, and neural activity.
Once developed, the brain's neurons begin to fire at a rate of 200 times per second. Each neuron connects with 7,000 other neurons. Pretty soon, the entire brain is vibrating in harmonic oscillation.
But it's not just random oscillation. Neurons receive input from the environment via the senses. The brain then begins to resonate with the environment in characteristic ways. If two people see a bird, the experience causes a similar resonance in their brains. If two people feel anger, there's also a similar resonance pattern of neural firings.
Can resonance patterns be reduced to a characteristic signature, or unique sequence of numbers? I'm not a mathematician, but I know that complex wave functions can be reduced to a Fibonacci sequence. Perhaps the resonant oscillations of the brain can be reduced this way as well.
Numbers can easily be represented in the genes as a sequence of DNA bases. For example: AA=0, AT=1, AG=3, AC=4, TA=5, and so on... So if the same environmental object always produces the same resonant signature in the brain, it's possible that these memories can be stored in (and recalled from) the genes.
And not just objects. Perhaps traits, behaviors, desires and interests can also be reduced to unique resonance signatures of neural firing patterns. It would be a possible mechanism for genes to encode innate character traits.