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.

A248626 Least positive integer m such that prime(m+n) divides 2^m - 1.

Original entry on oeis.org

3, 22, 18, 50, 48, 5, 48, 121, 390, 21, 37, 9, 11, 110, 672, 11628, 14, 286, 1000, 329, 15, 29, 32, 7, 90, 42, 1001, 816, 24, 408, 806, 6219, 761, 44, 75, 88, 30, 711, 16, 43, 2202, 110, 6112, 624, 12206, 590, 21, 156, 551, 525, 194, 64, 201, 225, 261, 1132, 305, 66, 500, 50
Offset: 1

Views

Author

Zhi-Wei Sun, Oct 10 2014

Keywords

Comments

Conjecture: a(n) exists for any n > 0.

Examples

			a(2) = 22 since prime(22+2) = 89 divides 2^(22)-1 = 4194303 = 89*47127.
		

Crossrefs

Programs

  • Mathematica
    Do[m=1;Label[aa];If[Mod[2^m-1,Prime[m+n]]==0,Print[n," ",m];Goto[bb]];m=m+1;Goto[aa];Label[bb];Continue,{n,1,60}]