Donate to Remove ads

Got a credit card? use our Credit Card & Finance Calculators

Thanks to Wasron,jfgw,Rhyd6,eyeball08,Wondergirly, for Donating to support the site

Hexagonal

cinelli
Lemon Slice
Posts: 553
Joined: November 9th, 2016, 11:33 am
Has thanked: 234 times
Been thanked: 161 times

Hexagonal

#602490

Postby cinelli » July 16th, 2023, 9:57 am

Hexagonal numbers are defined by
N = 3*n^2 + 3*n + 1
where n is a positive integer and they count the number of dots in the shape of a hexagon. The first few are 7, 19 and 37. Alison suggests the following even money bet to Betty. Alison would write a different digit on each of three pieces of paper and put them in a hat. Betty would pull them out one by one. If the three digit number formed by writing the digits in the order in which they were drawn were a hexagonal number, Alison would win. Otherwise Betty would win. Betty reasoned that there couldn’t be too many three digit hexagonal numbers and that there are hundreds of non-hexagonal number – she gleefully accepted the bet. Was she wise?

Cinelli

UncleEbenezer
The full Lemon
Posts: 10815
Joined: November 4th, 2016, 8:17 pm
Has thanked: 1472 times
Been thanked: 3006 times

Re: Hexagonal

#602501

Postby UncleEbenezer » July 16th, 2023, 10:46 am

There are just 12 such conventionally-speaking three-digit numbers. However, one of the digits may be a zero, so there are another 4 possible wins for Alison. That's from a problem space out of 10*9*8 = 720 candidate numbers whose digits are distinct. Very nice odds, yesno? Improved yet further by not all those hexagonal numbers having three distinct digits.

Except, Alison gets to choose the three digits, reducing the problem space to just six possible orders in which the the digits are drawn. Selecting digits 1, 2 and 7 gives her four chances out of those six: namely 127, 217, 271, and 721. Whoops!

Moral: the actual randomness is limited to what isn't under Alison's control. Look more carefully at what she's offering!

cinelli
Lemon Slice
Posts: 553
Joined: November 9th, 2016, 11:33 am
Has thanked: 234 times
Been thanked: 161 times

Re: Hexagonal

#603738

Postby cinelli » July 21st, 2023, 6:13 pm

Well solved, UncleEbenezer. There are just twelve 3-digit hexagonal numbers. They are

127 169 217 271 331 397 469 547 631 721 817 919

and four of those involve digits 1, 2 and 7. Quite a coincidence.


Cinelli


Return to “Games, Puzzles and Riddles”

Who is online

Users browsing this forum: No registered users and 34 guests