I do find the temple gematria concerning the description of the “nets of checker-work, and wreaths of chain-work, for the capitals which were upon the top of the pillars: seven for the one capital, and seven for the other capital” [1 Kings 7:17] to be interesting because
שַׁרְשְׁר֔וֹת – of chain 420
מַעֲשֵׂ֣ה – of chainwork 118
שְׂבָכִ֞ים – nets 75
= 613 which is the number of Mitzvot that Rabbi Simlai first mentioned in a sermon in the 3rd Century.
The maker of this odd highly stylistic construction was Hiram according to 1 Kings 7:13 “Now King Solomon sent and brought Hiram from Tyre.”
שְׁלֹמֹ֔ה – Solomon 78
חִירָ֖ם- Hiram 258
מִצֹּֽר – Tyre 330
Solomon + Hiram + Tyre = 666.
If you think of EL or YHVH siting on the wings of the Cherubs on his Merkabah throne and riding across the clouds and then think of the Winged Sun symbol of the sky God Behdety (a title which Thoth confers upon Horus in the Ptolemaic Legend of the Winged Sun Disc) and then the older third millennium symbol of a solar barque to which a pair of wings are attached then there is an obvious parallel of symbolism between the two mythologies. Also the winged solar disk appears on Hebrew seals connected to the royal house of the Kingdom of Judah. A typological figure to Hiram is Kothar-wa-Khasis.
I’m not quite sure when 666 became known as a figure associated with the magic square of the Sun but in respect of the seven palaces the number is arrived at from 217 x 3 + 15 (from gimel 3, heh 5, zayin 7) letters on the path attributed to the Dbir) which also appears to be values of concern to the 47th Problem of Euclid. I am really not sure how relevant this is however.
1 Kings also says 666 talents of gold came to King Solomon in one year. I doubt I need to mention Revelations.