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.

A128402 Numbers k such that k^2 divides 22^k-1.

Original entry on oeis.org

1, 3, 7, 21, 39, 273, 507, 3081, 3549, 21567, 40053, 78117, 280371, 343239, 546819, 1015521, 2056899, 2402673, 5998317, 6171243, 7108647, 8740173, 12338859, 14398293, 18988203, 27115881, 41988219, 43198701, 47727771, 55431363
Offset: 1

Views

Author

Alexander Adamchuk, Mar 01 2007

Keywords

Crossrefs

Programs

  • Maple
    select(t -> 22 &^ t - 1 mod t^2 = 0, [seq(2*k+1,k=0..10^6)]); # Robert Israel, Jan 23 2015
  • Mathematica
    a={}; Do[r=(22^n-1)/n^2; If[r==IntegerPart[r], AppendTo[a, n]], {n, 1, 10^3}]; a (* Vladimir Joseph Stephan Orlovsky, Aug 07 2008 *)
  • PARI
    { forstep(m=11,10^8,2, if( Mod(22,m^2)^m==1, print(m) ) ) } \\ Max Alekseyev, Oct 18 2008

Extensions

a(14)-a(30) from Max Alekseyev, Oct 18 2008