Abbreviation: ISRng01
An \emph{idempotent semiring with identity and zero} is a semirings with identity and zero S=⟨S,∨,0,⋅,1⟩ such that ∨ is idempotent: x∨x=x
Let S and T be idempotent semirings with identity and zero. A morphism from S to T is a function h:S→T that is a homomorphism:
h(x∨y)=h(x)∨h(y), h(x⋅y)=h(x)⋅h(y), h(0)=0, h(1)=1
Example 1:
f(1)=1f(2)=1f(3)=3f(4)=20f(5)=149f(6)=1488f(7)=18554