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.

A271168 Numbers n such that Fibonacci(n) divides p! where p is n-th prime.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 16, 18, 20, 24, 30, 36
Offset: 1

Views

Author

Altug Alkan, Mar 31 2016

Keywords

Comments

Inspired by A019532.
A019532 is a subsequence.

Examples

			5 is a term because Fibonacci(5) = 5 divides prime(5)! = 11! = 39916800.
		

Crossrefs

Cf. A019532.

Programs

  • Maple
    with(combinat): A271168:=n->`if`(ithprime(n)! mod fibonacci(n)=0, n, NULL): seq(A271168(n), n=1..40); # Wesley Ivan Hurt, Apr 01 2016
  • Mathematica
    Select[Range@ 40, Divisible[Prime[#]!, Fibonacci@ #] &] (* Michael De Vlieger, Apr 01 2016 *)
  • PARI
    for(n=1, 1e2, if(prime(n)! % fibonacci(n) == 0, print1(n, ", ")));