enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. List of integer sequences - Wikipedia

    en.wikipedia.org/wiki/List_of_integer_sequences

    "subtract if possible, otherwise add": a(0) = 0; for n > 0, a(n) = a(n − 1) − n if that number is positive and not already in the sequence, otherwise a(n) = a(n − 1) + n, whether or not that number is already in the sequence.

  3. Leonardo number - Wikipedia

    en.wikipedia.org/wiki/Leonardo_number

    If a pair of numbers modulo n appears twice in the sequence, then there's a cycle. If we assume the main statement is false, using the previous statement, then it would imply there's infinite distinct pairs of numbers between 0 and n-1, which is false since there are n 2 such pairs. The cycles for n≤8 are:

  4. Linear congruential generator - Wikipedia

    en.wikipedia.org/wiki/Linear_congruential_generator

    Each row shows the state evolving until it repeats. The top row shows a generator with m = 9, a = 2, c = 0, and a seed of 1, which produces a cycle of length 6. The second row is the same generator with a seed of 3, which produces a cycle of length 2. Using a = 4 and c = 1 (bottom row) gives a cycle length of 9 with any seed in [0, 8].

  5. Jacobsthal number - Wikipedia

    en.wikipedia.org/wiki/Jacobsthal_number

    In mathematics, the Jacobsthal numbers are an integer sequence named after the German mathematician Ernst Jacobsthal.Like the related Fibonacci numbers, they are a specific type of Lucas sequence (,) for which P = 1, and Q = −2 [1] —and are defined by a similar recurrence relation: in simple terms, the sequence starts with 0 and 1, then each following number is found by adding the number ...

  6. Integer sequence - Wikipedia

    en.wikipedia.org/wiki/Integer_sequence

    An integer sequence is computable if there exists an algorithm that, given n, calculates a n, for all n > 0. The set of computable integer sequences is countable.The set of all integer sequences is uncountable (with cardinality equal to that of the continuum), and so not all integer sequences are computable.

  7. Magic hexagon - Wikipedia

    en.wikipedia.org/wiki/Magic_hexagon

    Order 5 hexagons, where the "X" are placeholders for order 3 hexagons, which complete the number sequence. The left one contains the hexagon with the sum 38 (numbers 1 to 19) and the right one, one of the 26 hexagons with the sum 0 (numbers9 to 9). For more information visit the German Wikipedia article.

  8. On-Line Encyclopedia of Integer Sequences - Wikipedia

    en.wikipedia.org/wiki/On-Line_Encyclopedia_of...

    The offset is the index of the first term given. For some sequences, the offset is obvious. For example, if we list the sequence of square numbers as 0, 1, 4, 9, 16, 25 ..., the offset is 0; while if we list it as 1, 4, 9, 16, 25 ..., the offset is 1. The default offset is 0, and most sequences in the OEIS have offset of either 0 or 1.

  9. Motzkin number - Wikipedia

    en.wikipedia.org/wiki/Motzkin_number

    The Motzkin number for n is also the number of positive integer sequences of length n − 1 in which the opening and ending elements are either 1 or 2, and the difference between any two consecutive elements is −1, 0 or 1. Equivalently, the Motzkin number for n is the number of positive integer sequences of length n + 1 in which the opening ...