login
A393595
Sequence where k is appended after every k^k occurrences of 1, with multiple values following a 1 listed in order.
2
1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 3, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2
OFFSET
1,5
COMMENTS
The frequencies of the terms follow the probability distribution given by pdf(k) = 1/(A073009*(k^k)).
The geometric mean approaches Product_{k>=1} k^(1/(A073009*(k^k))) = 1.185698... in the limit.
LINKS
FORMULA
After every 4 ones we see a 2, after every 27 ones we see a 3 and so on.
PROG
(Python)
from itertools import islice
def power_distribution_generator():
num_ones, num_reached = 0, 1
while num_ones := num_ones+1:
yield 1
for num in range(2, num_reached+2):
if num_ones % (num**num) == 0:
yield num
num_reached += num == num_reached+1
A393595 = list(islice(power_distribution_generator(), 120))
CROSSREFS
Cf. A073009.
Sequence in context: A177706 A130782 A364358 * A055457 A277873 A032542
KEYWORD
nonn
AUTHOR
Jwalin Bhatt, Feb 23 2026
STATUS
approved