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.

A126233 Smallest number k such that (prime(k+1)+prime(k))/2 is odd and divisible by n-th odd prime.

This page as a plain text file.
%I A126233 #11 Apr 30 2020 03:26:36
%S A126233 4,6,8,25,12,88,78,19,121,24,29,46,31,126,186,153,156,379,197,139,280,
%T A126233 132,285,380,155,63,334,1005,203,75,77,516,314,445,87,1075,93,95,1872,
%U A126233 254,697,1201,270,425,429,447,304,2187,124,488,1153,128,335,136,547,742
%N A126233 Smallest number k such that (prime(k+1)+prime(k))/2 is odd and divisible by n-th odd prime.
%H A126233 Amiram Eldar, <a href="/A126233/b126233.txt">Table of n, a(n) for n = 1..10000</a>
%t A126233 f[n_] := Block[{k = 1, c},While[c = (Prime[k + 1] + Prime[k])/2; Mod[c, 2] == 0 || Mod[c, Prime[n + 1]] > 0, k++ ];k];Table[f[n], {n, 56}] (* _Ray Chandler_, Jan 09 2007 *)
%Y A126233 Cf. A072569, A072572, A072573, A126228, A126229, A126230, A124619, A124620, A126231, A124622.
%K A126233 nonn
%O A126233 1,1
%A A126233 _Artur Jasinski_, Dec 21 2006
%E A126233 Edited and extended by _Ray Chandler_, Jan 09 2007