[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Revisions by Joseph Likar (See also Joseph Likar's wiki page)

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

Showing entries 1-10 | older changes
Heinz numbers of sets of divisors of positive integers. Numbers whose prime indices form the set of divisors of some positive integer.
(history; published version)
#9 by Joseph Likar at Sun Aug 25 18:14:35 EDT 2024
STATUS

editing

proposed

#8 by Joseph Likar at Sun Aug 25 18:14:11 EDT 2024
LINKS

Joseph Likar, <a href="/A371283/b371283_1.txt">Table of n, a(n) for n = 1..10000</a>

EXTENSIONS

a(51) onwards by Joseph Likar, Aug 25 2024

STATUS

approved

editing

Numbers whose distinct prime indices form the set of divisors of some positive integer.
(history; published version)
#7 by Joseph Likar at Sun Aug 25 18:11:55 EDT 2024
STATUS

editing

proposed

#6 by Joseph Likar at Sun Aug 25 18:11:27 EDT 2024
LINKS

Joseph Likar, <a href="/A371288/b371288_1.txt">Table of n, a(n) for n = 1..10000</a>

EXTENSIONS

a(60) onwards by Joseph Likar, Aug 25 2024

STATUS

approved

editing

Number of integer partitions of n of which every permutation has a consecutive monotone triple, i.e., a triple (..., x, y, z, ...) such that either x <= y <= z or x >= y >= z.
(history; published version)
#13 by Joseph Likar at Wed Sep 06 15:09:20 EDT 2023
STATUS

editing

proposed

#12 by Joseph Likar at Wed Sep 06 15:09:09 EDT 2023
DATA

0, 0, 0, 1, 1, 2, 4, 5, 7, 11, 16, 20, 28, 37, 50, 65, 84, 106, 140, 175, 222, 277, 350, 432, 539, 663, 819, 999, 1225, 1489, 1816, 2192, 2653, 3191, 3846, 4603, 5516, 6578, 7852, 9327, 11083, 13120, 15532, 18328, 21620, 25430, 29904, 35071, 41110, 48080

LINKS

Joseph Likar, <a href="/A344654/b344654_1.txt">Table of n, a(n) for n = 0..1000</a>

KEYWORD

nonn,more

nonn

EXTENSIONS

a(33) onwards from Joseph Likar, Sep 06 2023

STATUS

approved

editing

Number of integer partitions of n without an alternating permutation.
(history; published version)
#19 by Joseph Likar at Wed Sep 06 12:52:31 EDT 2023
STATUS

editing

proposed

#18 by Joseph Likar at Wed Sep 06 12:52:25 EDT 2023
COMMENTS

From Joseph Likar, Aug 21 2023: (Start)

This sequence can be generated by the following pseudo code:

outputMap[2 to n] = n

for usedNumbers = 2 to n

for medianSize = ceil(usedNumbers / 2) + 1 to usedNumbers - 1

for medianValue = 1 to floor((n - usedNumbers + medianSize) / medianSize)

for numbersAboveMedian = 0 to usedNumbers - medianSize

calculateState(usedNumbers, medianSize, medianValue, numbersAboveMedian)

next numbersAboveMedian

next medianValue

next medianSize

if (usedNumbers mod 2 == 1)

for medianValue = 2 to Math.floor((n - usedNumbers + ceil(usedNumbers / 2))/ceil(usedNumbers / 2))

for numbersAboveMedian = 1 to usedNumbers - ceil(usedNumbers / 2) - 1

calculateState(usedNumbers, ceil(usedNumbers / 2), medianValue, numbersAboveMedian)

next numbersAboveMedian

next medianValue

endif

next usedNumbers

function calculateState(usedNumbers, medianSize, medianValue, numbersAboveMedian)

numbersBelowMedian = usedNumbers - medianSize - numbersAboveMedian)

bottomQTerms = gaussianBinomial(numbersBelowMedian + (medianValue - 1) - 1, numbersBelowMedian)

topQTerms = gaussianBinomial(n - 1 - 2 * numbersAboveMedian, numbersAboveMedian)

for bottomOffset = 0 to length(bottomQTerms) - 1

for topOffset = 0 to length(topQTerms) - 1

partitionSum = bottomOffset + topOffset + numbersBelowMedian + (medianSize * medianValue) + (numbersAboveMedian * (medianValue + 1));

if (partitionSum <= n)

outputMap[partitionSum] += bottomQTerms[bottomOffset] * topQTerms[topOffset]

next topOffset

next bottomOffset

end

where gaussianBinomial(m, n) takes the Gaussian Binomial (m choose n)_q and returns a zero-indexed array where each value in the array is the coefficient of q^index in the Gaussian binomial expansion. (End)

LINKS

Joseph Likar, <a href="/A345165/a345165.java.txt">Java Implementation</a> using QBinomials

STATUS

proposed

editing

Number of integer partitions of n with a permutation that has no consecutive monotone triple, i.e., no triple (..., x, y, z, ...) such that either x <= y <= z or x >= y >= z.
(history; published version)
#16 by Joseph Likar at Wed Sep 06 12:13:48 EDT 2023
STATUS

editing

proposed

#15 by Joseph Likar at Wed Sep 06 12:13:31 EDT 2023
KEYWORD

nonn,more,changed

STATUS

approved

editing

Discussion
Wed Sep 06
12:13
Joseph Likar: I forgot to remove the `more` keyword, my appologies