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.

A072572 Odd interprimes divisible by 3.

Original entry on oeis.org

9, 15, 21, 39, 45, 69, 81, 93, 99, 105, 111, 129, 165, 195, 225, 231, 279, 309, 315, 351, 363, 381, 393, 399, 405, 441, 453, 459, 465, 483, 489, 495, 501, 615, 645, 675, 687, 705, 723, 741, 747, 759, 765, 771, 825, 855, 861, 879, 885, 897, 909, 915, 933
Offset: 1

Views

Author

Marco Matosic, Jun 25 2002

Keywords

Crossrefs

Programs

  • Mathematica
    a = Table[ Prime[n], {n, 2, 200}]; b = {}; Do[d = (a[[n + 1]] - a[[n]])/2; If[ OddQ[a[[n]] + d] && Mod[d, 3] != 0, b = Append[b, a[[n]] + d]], {n, 1, 198}]; b
    Select[Mean/@Partition[Prime[Range[4,200]],2,1],OddQ[#]&&Divisible[ #,3]&] (* Harvey P. Dale, Oct 29 2013 *)

Extensions

Edited by N. J. A. Sloane and Robert G. Wilson v, Jun 27 2002
Corrected by T. D. Noe, Nov 01 2006