Is there a happy semigroup of concatenated numbers?

  • Context: Undergrad 
  • Thread starter Thread starter dkotschessaa
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the concept of happy numbers and whether concatenating happy numbers results in another happy number. Participants explore the properties of happy numbers, the operation of concatenation, and the implications of these on the structure of a semigroup.

Discussion Character

  • Exploratory
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant proposes that concatenating two happy numbers results in another happy number, suggesting that the set of happy numbers is closed under concatenation.
  • Another participant challenges the claim by arguing that the concatenation of 13 and 10 does not yield a happy number, providing a calculation that leads to a cycle without reaching 1.
  • A different participant expresses skepticism about the closure property of happy numbers under concatenation, stating that while some examples work, it does not hold in general.
  • There is a discussion about the identity element in the context of concatenation, with one participant suggesting the empty word could be defined as happy.
  • Participants express uncertainty about the validity of the initial claims and the implications of their definitions and operations.

Areas of Agreement / Disagreement

Participants do not reach a consensus on whether concatenation of happy numbers always results in another happy number. Multiple competing views are presented, with some supporting the idea and others challenging it.

Contextual Notes

There are unresolved assumptions regarding the definitions of happy numbers and the operation of concatenation. The discussion reflects varying interpretations of these concepts.

dkotschessaa
Messages
1,063
Reaction score
763
I haven't slept in awhile and I might have just come up with a totally useless or vacuous concept. It could possibly be a cool example of something. For some reason, I really like happy numbers.

A happy number is a number such that when you separate the digits, square each, and add them back together, you get the number 1 in a finite number of steps. i.e.

13 --> 1^2 + 3^2 = 1 + 9 = 10
10 --> 1^2 + 0+2 = 1

It follows then that if you concatenate two happy numbers you'd get another happy number. So this set is closed under concatenation. Let ## * ## be concatenation.Example:

13*10 = 1310 (which is clearly happy).

It's associative, and commutative. I suppose since I am using concatenation that the identity element is just the empty word. But the empty word isn't a number. It's certainly not a group since there is no inverse.

Without the identity it's at least a commutative semigroup. Kind of interesting. Or maybe not.

-Dave K
 
Mathematics news on Phys.org
I don't get why ##13\circ 10 =1310## is happy. Shouldn't it be ##1^2+3^2+1^2+0^2=11 \rightarrow 1^2+1^2=2##? I wouldn't see a problem with the unity, as you could simply define ##\{\}## to be happy and ##a \circ \{\}=a\,.## It's no group because left-concatenation is no bijection (I guess).

Edit: If you meant to continue: ##2 \rightarrow 2^2=4 \rightarrow 16 \rightarrow 37 \rightarrow 58 \rightarrow 89 \rightarrow 145 \rightarrow 42 \rightarrow 20 \rightarrow 4## which is a cycle without a ##1## in between.
 
I don't see an obvious closed operation between happy numbers, concatenation is not one.

13, 23 and 1323 are all happy: there are examples where it works, but in general it does not.
 
fresh_42 said:
I don't get why ##13\circ 10 =1310## is happy. Shouldn't it be ##1^2+3^2+1^2+0^2=11 \rightarrow 1^2+1^2=2##? I wouldn't see a problem with the unity, as you could simply define ##\{\}## to be happy and ##a \circ \{\}=a\,.## It's no group because left-concatenation is no bijection (I guess).

D'oh! Told you I didn't sleep. I had this funny feeling I would regret this post.
Edit: If you meant to continue: ##2 \rightarrow 2^2=4 \rightarrow 16 \rightarrow 37 \rightarrow 58 \rightarrow 89 \rightarrow 145 \rightarrow 42 \rightarrow 20 \rightarrow 4## which is a cycle without a ##1## in between.

Yeah, there might be something that works. But I should try again tomorrow.

I'm going to hide under a rock now.
 
dkotschessaa said:
I'm going to hide under a rock now.
Don't be square. :cool:
 
  • Like
Likes   Reactions: dkotschessaa

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 55 ·
2
Replies
55
Views
7K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K