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-1 of 1 results.

A267298 Integers k such that the k-th prime divides the product of the first k nonzero Jacobsthal numbers.

Original entry on oeis.org

5, 11, 14, 21, 24, 30, 31, 36, 53, 54, 55, 60, 61, 63, 67, 68, 78, 84, 88, 95, 105, 110, 113, 115, 116, 117, 122, 124, 125, 131, 141, 152, 162, 164, 170, 174, 176, 177, 184, 185, 192, 196, 199, 204, 216, 226, 234, 245, 255, 260, 267, 273, 275, 279, 280, 304, 305, 316, 319, 324, 339, 349, 356, 358, 366
Offset: 1

Views

Author

Altug Alkan, Apr 07 2016

Keywords

Comments

If any A001045(j) has a prime divisor p where p is the k-th prime for 1 <= j <= k, then k is a term of this sequence.

Examples

			5 is a term because A001045(5) = 11 is divisible by 11.
		

Crossrefs

Programs

  • PARI
    a001045(n) = (2^n - (-1)^n) / 3;
    lista(nn) = for(n=1, nn, my(p = prime(n)); if (lift(prod(i=1, n, Mod(a001045(i), p))) == 0, print1(n, ", ")));
Showing 1-1 of 1 results.