cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-3 of 3 results.

A232656 The number of pairs of numbers below n that, when generating a Fibonacci-like sequence modulo n, contain zeros.

Original entry on oeis.org

1, 4, 9, 16, 21, 36, 49, 40, 81, 84, 101, 96, 85, 196, 189, 136, 145, 180, 325, 336, 153, 404, 529, 216, 521, 340, 729, 496, 393, 756, 901, 520, 509, 292, 1029, 384, 685, 652, 765, 840, 801, 612, 1849, 1016, 1701, 1060, 737, 504, 2401, 2084, 1305, 1360, 1405, 1476, 521, 1096, 1629, 1572
Offset: 1

Views

Author

Brandon Avila and Tanya Khovanova, Nov 27 2013

Keywords

Comments

a(n) = n^2 iff n is in A064414, a(n) is not equal to n^2 iff n is in A230457.
a(n) + A232357(n) = n^2.

Examples

			The sequence 2,1,3,4,2,1 is the sequence of Lucas numbers modulo 5. Lucas numbers are never divisible by 5. The 4 pairs (2,1), (1,3), (3,4), (4,2) are the only pairs that can generate a sequence modulo 5 that doesn't contain zeros. Thus, a(5) = 21, as 21 other pairs generate sequences that do contain zeros.
Any Fibonacci like sequence contains elements divisible by 2, 3, or 4. Thus, a(2) = 4, a(3) = 9, a(4) = 16.
		

Crossrefs

Programs

  • Mathematica
    fibLike[list_] := Append[list, list[[-1]] + list[[-2]]]; Table[k^2 -Count[Flatten[Table[Count[Nest[fibLike, {n, m}, k^2]/k, _Integer], {n, k - 1}, {m, k - 1}]], 0], {k, 70}]

Formula

Conjecture: a(n) = Sum_{d|n} phi(d)*A001177(d), where phi = Euler's totient function (A000010). - Logan J. Kleinwaks, Oct 28 2017
a(n) = Sum_{d|n} phi(d)*A001177(d) = Sum_{k=1..n} A001177(n/gcd(n,k)) = Sum_{k=1..n} A001177(gcd(n,k))*phi(gcd(n,k))/phi(n/gcd(n,k)). - Richard L. Ollerton, May 09 2021

A232357 The number of pairs of numbers below n that, when generating a Fibonacci-like sequence modulo n, do not contain zero.

Original entry on oeis.org

0, 0, 0, 0, 4, 0, 0, 24, 0, 16, 20, 48, 84, 0, 36, 120, 144, 144, 36, 64, 288, 80, 0, 360, 104, 336, 0, 288, 448, 144, 60, 504, 580, 864, 196, 912, 684, 792, 756, 760, 880, 1152, 0, 920, 324, 1056, 1472, 1800, 0, 416, 1296, 1344, 1404, 1440, 2504, 2040, 1620, 1792, 116, 1584, 2820, 2040, 2880
Offset: 1

Views

Author

Brandon Avila and Tanya Khovanova, Nov 22 2013

Keywords

Comments

a(n) = 0 iff n is in A064414, a(n) is not equal to zero iff n is in A230457.
a(n) + A232656(n) = n^2.

Examples

			The sequence 2,1,3,4,2,1 is the sequence of Lucas numbers modulo 5. Lucas numbers are never divisible by 5. The 4 pairs (2,1), (1,3), (3,4), (4,2) are the only pairs that can generate a sequence modulo 5 that doesn't contain zeros. Thus, a(5) = 4.
Any Fibonacci like sequence contains elements divisible by 2, 3, or 4. Thus, a(2) = a(3) = a(4) = 0.
		

Crossrefs

Programs

  • Mathematica
    fibLike[list_] := Append[list, list[[-1]] + list[[-2]]]; Table[Count[Flatten[Table[Count[Nest[fibLike, {n, m}, k^2]/k, _Integer], {n, k-1}, {m, k-1}]], 0], {k, 70}]

A232658 Numbers that are factors of Lucas numbers, whose multiples do not appear in some other Fibonacci-like sequence.

Original entry on oeis.org

11, 18, 19, 22, 29, 31, 38, 41, 44, 46, 47, 54, 58, 59, 62, 71, 76, 79, 82, 94, 101, 107, 116, 118, 121, 123, 124, 129, 131, 139, 142, 151, 158, 161, 162, 166, 179, 181, 191, 199, 201, 202, 209, 211, 214, 229, 236, 239, 241, 242, 246, 249, 251, 258, 262, 263, 271
Offset: 1

Views

Author

Brandon Avila and Tanya Khovanova, Nov 27 2013

Keywords

Comments

Intersection of A230457 and A065156.
Sequence A230457 from which elements of A064362 are removed.

Examples

			Sequence A000285 is the Fibonacci-like sequence starting with 1 and 4. This sequence doesn't contain multiples of 11. On the other hand Lucas numbers contain multiples of 11. Therefore, 11 belongs to this sequence.
		

Crossrefs

Showing 1-3 of 3 results.