login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A050318 a(n) is the number of ways to write n as an mterm, where an mterm is an unordered sum which is either 2, or 1 + an unordered product of mterms. 5
1, 1, 1, 2, 2, 3, 3, 5, 6, 8, 8, 12, 12, 15, 17, 23, 23, 31, 31, 41, 44, 52, 52, 69, 72, 84, 90, 108, 108, 135, 135, 161, 169, 192, 198, 246, 246, 277, 289, 342, 342, 404, 404, 464, 491, 543, 543, 644, 650, 734, 757, 853, 853, 978, 994, 1123, 1154, 1262, 1262 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,4
COMMENTS
P. Freyd (see link) writes: A050318 is "the number of isomorphism types of [equationally linear Heyting semi-lattices] of order n ..., albeit shifted by 1." And: "A050318 shifted by 1 is the number of isomorphism types of distributive lattices in which any element below a coprime is itself a coprime. Which ... is the same as the number of distributive lattices in which any element above a prime is itself a prime." - Peter Luschny, Nov 13 2018
LINKS
FORMULA
Shifts left under transform T where Ta has Dirichlet g.f. Product_{n>=1}(1/(1-1/n^s)^a(n)).
EXAMPLE
The different ways of writing the numbers 2 through 7 as mterms are:
2 = 2,
3 = 1 + 2,
4 = 1 + (1+2),
5 = 1 + (1+1+2) = 1 + 2*2,
6 = 1 + (1+1+1+2) = 1 + (1+2*2),
7 = 1 + (1+1+1+1+2) = 1 + (1+1+2*2) = 1 + 2*(1+2).
PROG
(PARI) seq(n)={my(v=vector(n, i, i==1)); for(k=2, n, v=dirmul(v, vector(#v, i, my(e=valuation(i, k)); if(i==k^e, binomial(v[k-1] + e - 1, e), 0)))); v} \\ Andrew Howroyd, Nov 17 2018
CROSSREFS
Sequence in context: A180682 A227426 A229950 * A130841 A002095 A029017
KEYWORD
nonn,eigen,nice,easy
AUTHOR
Christian G. Bower, Sep 15 1999
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 04:04 EDT 2024. Contains 371782 sequences. (Running on oeis4.)