Talk:Centered hexagonal number

The difference between (2n)2 and the nth centered hexagonal number is a number of the form 3n2 + 3n &minus; 1, - is this statement correct?--Booradleyp (talk) 11:22, 31 December 2011 (UTC)

Testing / finding the root
This formula will work to find the root of a centered hexagonal number, would it be useful to add to the article?
 * $$n = \frac{1}{2}\left({\sqrt{8\times\frac{x-1}{6}+1}+1}\right)$$

Where x is the hexagonal number and n is the root to be found. Dobz116 (talk) 11:25, 29 August 2011 (UTC)

Agree its useful to add a method of calculating the root, I added this before seeing the talk page, using the following formula:


 * $$n={{3+\sqrt{9-12(1-x)}}\over 6}$$

which has fewer operations than the example you've given Ideasman42 (talk) 04:06, 13 August 2017 (UTC)

Commons files used on this page have been nominated for deletion
The following Wikimedia Commons files used on this page have been nominated for deletion: Participate in the deletion discussions at the nomination pages linked above. —Community Tech bot (talk) 22:21, 9 June 2019 (UTC)
 * GrayDotX.svg (discussion)
 * RedDotX.svg (discussion)