Interesting article about Kubrick's The Shining over at Tabletmag.com.
From Professor Geoffrey Cocks:
The Shining is the Holocaust film that Kubrick, who grew up in a Jewish Bronx household in the 1930s (his father was born Jacob but Anglicized it to Jack—the name of Jack Nicholson’s deranged protagonist), always wanted to make but felt that, for aesthetic reasons, he could never make except in the most oblique possible manner.
The Times highlights the prevalence of the number 42 in the film—Danny, Jack and Wendy’s son, wears a t-shirt with the number on it; Wendy takes 42 swings of her baseball bat at Jack—and notes that since the early ‘70s, that number was seen as an ominous metonym for the Final Solution, which was launched in 1942. (The number was prominent in the ‘70s also as the answer to Douglas Adams’ question.) But there’s more.
For the rest of their theories, head over to tabletmag.com: Kubrick's Holocaust Film.
Pretty interesting and we'll never know if it's all intentional. Kubrick never talked about the imagery in his films.