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.

A263169 Smallest positive k such that 78557^k + 2^n is prime, or 0 if no such value exists.

This page as a plain text file.
%I A263169 #11 Sep 08 2022 08:46:14
%S A263169 0,33,2,0,76
%N A263169 Smallest positive k such that 78557^k + 2^n is prime, or 0 if no such value exists.
%C A263169 {0, 2, 3} is the set of all noncomposite numbers that belong to this sequence.
%C A263169 The sequence continues: a(5) = ?, a(6) = ?, 87, 12, 0, 0, 3, a(12) = ?.
%o A263169 (Magma) lst:=[]; for n in [1..4] do if not n mod 6 eq 3 then k:=2; while not IsPrime(78557^k+2^n) do k+:=1; end while; Append(~lst, k); else Append(~lst, 0); end if; end for; [0] cat lst;
%Y A263169 Cf. A076336.
%K A263169 nonn,more
%O A263169 0,2
%A A263169 _Arkadiusz Wesolowski_, Oct 11 2015