I'm building a library and want to release it under MIT.
Among other functions, this library has to emulate the internal behaviour of std::unordered_set from libstdc++ (precisely -- determine the number of buckets by the number of elements). In order to do it I read the source code of libstdc++ and implemented the similar thing in my library. Also, there is a configuration file in libstdc++: a hard-coded list of 256 prime numbers which are potential hashtable sizes. It is not possible to emulate what I need without this list.
The main problem is that libstdc++ sources are released by GPL, which is not compatible with MIT this way.
I have two questions.
1) is it possible to put this hard-coded list into my code? Maybe I should claim that I produced it by interacting with unordered_set like a black box (it is possible) without looking at the source code explicitly.
2) is the part "I didn't copy your sources, I just implemented mine which do the same thing but do not share a line with yours" violating the license?