christianp,
@christianp@mathstodon.xyz avatar

Here's a sequence of integers that isn't in the OEIS. I think it has to be a triangle read by rows:

1
2,1
2,3,1
4,2,3,1
4,2,3,1,5
6,4,2,3,1,5
6,4,2,3,1,7,5
6,4,8,2,3,1,7,5
6,4,8,2,9,3,1,7,5

Can you work out the rule for making the next row from the last?
Are there any patterns that you can spot?

As ever, I can give hints at different levels on demand. Please put any potential solutions under a content warning.

maddemaddigger,
@maddemaddigger@mathstodon.xyz avatar

@christianp Hm. I don't have a solution, but the process produced a new sequence:
[1]
[1, 2]
[1, 2, 3]
[1, 2, 4, 3]
[1, 2, 4, 3, 5]
[6, 1, 2, 4, 3, 5]
[6, 1, 2, 4, 3, 5, 7]
[8, 6, 1, 2, 4, 3, 5, 7]
[9, 8, 6, 1, 2, 4, 3, 5, 7]
[10, 9, 8, 6, 1, 2, 4, 3, 5, 7]
[10, 9, 8, 6, 1, 2, 4, 3, 5, 7, 11]
...

christianp,
@christianp@mathstodon.xyz avatar

@maddemaddigger interesting! What's your rule?

18+ maddemaddigger,
@maddemaddigger@mathstodon.xyz avatar

@christianp We add number n at position (n-1)! mod n. (which is for most numbers at the front except for primes)

18+ christianp,
@christianp@mathstodon.xyz avatar

@maddemaddigger nice! I don't think I would have got that

18+ maddemaddigger,
@maddemaddigger@mathstodon.xyz avatar

@christianp Using Wilson's theorem, it's actually a bit simpler: add 4 at position 2 and for all other rows: primes get added at the back, non-primes at the front.

18+ christianp,
@christianp@mathstodon.xyz avatar

@maddemaddigger that 4 is what put me off conjecturing something like that!

dneary,
@dneary@mathstodon.xyz avatar

@christianp Are the numbers added in alphabetical order in a language other than English?

18+ christianp,
@christianp@mathstodon.xyz avatar

@dneary no, nothing to do with spellings or even digits in a particular base

18+ dneary,
@dneary@mathstodon.xyz avatar

@christianp Second question: does this represent the entire sequence, or is there a next row including 10?

18+ christianp,
@christianp@mathstodon.xyz avatar

@dneary there are countably infinitely many rows

18+ dneary,
@dneary@mathstodon.xyz avatar

@christianp The relative ordering is stable, so... is there some sort of metric function I can define that would be deterministic for any row? Can I calculate row 1000000 independent of the previous rows?

18+ christianp,
@christianp@mathstodon.xyz avatar

@dneary ooh, I don't know! Good question

18+ dneary,
@dneary@mathstodon.xyz avatar

@christianp Well if you don't know I certainly don't! I give up. Did anyone get it?

18+ pozorvlak,

@christianp the nth row is created by inserting n somewhere into the n-1st row. Even numbers are inserted into the left half of the row, and odd numbers are inserted into the right half of the sequence, but I haven't worked out the full rule yet.

andrewt, (edited )
@andrewt@mathstodon.xyz avatar

@christianp

I notice that all the even numbers always come before all the odd numbers. More than that, within each group the multiples of three come before the other numbers. Which makes me think it's a factorisation thing… but this breaks down for higher powers (4,8,2 rather than 8,4,2) and higher primes (1,7,5 rather than 5,7,1).

I want to say it's going to be something like the numbers are added to minimise some property of the sequence, and ties are broken by placing the number as early as possible?

Or the whole thing is a red herring and it's nothing to do with any of that, idk — there are all sorts of little patterns in there that break after a while 🤷

ompaul,
@ompaul@mathstodon.xyz avatar

deleted_by_author

  • Loading...
  • christianp,
    @christianp@mathstodon.xyz avatar

    @ompaul what do you mean by "the increase"?

    18+ kw217,
    @kw217@mathstodon.xyz avatar

    @christianp each row adds the row number somewhere into the previous row. Perhaps row n is 1..n sorted according to some rule? Not sure what yet. Good puzzle!

    18+ christianp,
    @christianp@mathstodon.xyz avatar

    @kw217 you're on the right track!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • magazineikmin
  • rosin
  • Youngstown
  • ngwrru68w68
  • khanakhh
  • slotface
  • InstantRegret
  • mdbf
  • GTA5RPClips
  • kavyap
  • thenastyranch
  • DreamBathrooms
  • everett
  • tacticalgear
  • JUstTest
  • tester
  • Durango
  • cubers
  • ethstaker
  • cisconetworking
  • modclub
  • osvaldo12
  • Leos
  • normalnudes
  • megavids
  • provamag3
  • anitta
  • lostlight
  • All magazines