login

Draft edits for A398157

(Bold, blue-underlined text is an ; faded, red-underlined text is a deletion.)

allocated for Mark Anthony Larman
(history; published version)
Individual edits:
#2 by Mark Anthony Larman at Wed Jul 22 13:22:48 EDT 2026
NAME

allocated for Mark Anthony Larman

DATA

OFFSET

COMMENTS

FORMULA

EXAMPLE

PROG

CROSSREFS

KEYWORD

allocated

AUTHOR

STATUS

approved

#3 by Mark Anthony Larman at Wed Jul 22 13:25:01 EDT 2026
STATUS

editing

#4 by Michel Marcus at Wed Jul 22 13:50:20 EDT 2026
FORMULA

a(n) = n^4 - 2*n^3 + n^2 - 2*n + 2 for n >= 5

EXAMPLE

n=9: digits {9,7,6,2}: 9762 - 2679 (bijective base 9) = 7184 - 2016 = 5168 = "6972", the same digit multiset.

STATUS

proposed

Discussion
Wed Jul 22
13:50
Michel Marcus: Can you split the big comment into smaller pieces?
#5 by Michel Marcus at Wed Jul 22 13:51:10 EDT 2026
STATUS

editing

#6 by Stefano Spezia at Wed Jul 22 15:09:17 EDT 2026
KEYWORD

nonn,base,changed

STATUS

proposed

Discussion
Wed Jul 22
15:10
Stefano Spezia: Please give more terms: 7-8 terms more should be enough
17:46
Jianing Song: In my opinion you can start with n=0, and state the property as a comment for only n>=5
#7 by Jianing Song at Wed Jul 22 17:47:39 EDT 2026
LINKS

KEYWORD

nonn,base,easy,changed

Discussion
Wed Jul 22
17:48
Jianing Song: Also "base" does not apply; it is for a sequence depending on a particular base
#8 by Mark Anthony Larman at Wed Jul 22 21:16:33 EDT 2026
DATA

392, 890, 1752, 3122, 5168, 8082, 12080, 17402, 24312, 33098, 44072, 57570, 73952, 93602, 116928, 144362, 176360, 213402, 255992, 304658, 359952, 422450, 492752

COMMENTS

a(n) is a fixed point of the bijective digit-sorting subtraction map applied to 4-digit numerals in base n (for n >= 5). The map sorts digits descending and ascending, subtracts, and repeats. For n >= 5, a(n) corresponds to the zeroless analogue of the Kaprekar constant sequence A099009, though the values do not match. Convergence is not universal: numerals may stabilize at a fixed point, enter a cycle, or collapse to the empty string. The fixed point is unique for 5 <= n <= 23 except n = 10, 15, and 20, where exactly two fixed points exist (a pattern proved for n == 0 (mod 5), n >= 10). Exhaustive enumeration confirms the basin structure for n <= 23; fixed-point counts are verified through n = 30. For base 9, the basin contains 6440 of 6561 initial numerals, with a maximum transient length of 7. The fixed point digits follow the pattern n-3, n, n-2, 2, derived from the invariant max - min = n - 2 with middle difference 1.

#9 by Mark Anthony Larman at Wed Jul 22 21:18:42 EDT 2026
FORMULA

a(n) = n^4 - 2*n^3 + n^2 - 2*n + 2 for n >= 5.

#10 by Mark Anthony Larman at Wed Jul 22 21:22:39 EDT 2026
FORMULA

#11 by Mark Anthony Larman at Wed Jul 22 21:22:49 EDT 2026
STATUS

editing

All edits since published version (omitting small deletions for readability):
NAME

allocated for Mark Anthony Larman

DATA

OFFSET

COMMENTS

LINKS

FORMULA

EXAMPLE

PROG

CROSSREFS

KEYWORD

allocated

AUTHOR

STATUS

approved

Discussion
Wed Jul 22
13:50
Michel Marcus: Can you split the big comment into smaller pieces?
15:10
Stefano Spezia: Please give more terms: 7-8 terms more should be enough
17:46
Jianing Song: In my opinion you can start with n=0, and state the property as a comment for only n>=5
17:48
Jianing Song: Also "base" does not apply; it is for a sequence depending on a particular base
Log in to edit this sequence.