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.

A181469 Numbers n such that 89 is the largest prime factor of n^2-1.

Original entry on oeis.org

88, 90, 177, 179, 266, 355, 533, 535, 622, 624, 711, 713, 800, 802, 889, 1067, 1156, 1158, 1247, 1334, 1423, 1425, 1601, 1781, 1959, 2224, 2313, 2402, 2404, 2491, 2493, 2582, 2669, 2849, 3025, 3381, 3383, 3739, 3826, 4093, 4095, 4184, 4271, 4451, 4716
Offset: 1

Views

Author

Artur Jasinski, Oct 21 2010

Keywords

Comments

Sequence is finite, for proof see A175607.
Search for terms can be restricted to the range from 2 to A175607(24) = 332110803172167361; primepi(89) = 24.

Crossrefs

Programs

  • Magma
    [ n: n in [2..300000] | m eq 89 where m is D[#D] where D is PrimeDivisors(n^2-1) ]; // Klaus Brockhaus, Feb 21 2011
    
  • Magma
    p:=(97*89*83*79*73*71)^5 *(67*61*59*53*47*43*41)^6 *(37*31*29)^7 *(23*19*17)^8 *13^9 *11^10 *7^13 *5^15 *3^23 *2^36; [ n: n in [2..50000000] | p mod (n^2-1) eq 0 and (D[#D] eq 89 where D is PrimeDivisors(n^2-1)) ]; // Klaus Brockhaus, Feb 21 2011
    
  • Mathematica
    jj = 2^36*3^23*5^15*7^13*11^10*13^9*17^8*19^8*23^8*29^7*31^7*37^7*41^6 *43^6*47^6*53^6*59^6*61^6*67^6*71^5*73^5*79^5*83^5*89^5*97^5; rr = {}; n = 2; While[n < 3222617400, If[GCD[jj, n^2 - 1] == n^2 - 1, k = FactorInteger[n^2 - 1]; kk = Last[k][[1]]; If[kk == 89, AppendTo[rr, n]]]; n++ ]; rr (* Artur Jasinski *)
    Select[Range[300000], FactorInteger[#^2-1][[-1, 1]]==89&]
  • PARI
    is(n)=n=n^2-1; forprime(p=2, 83, n/=p^valuation(n, p)); n>1 && 89^valuation(n, 89)==n \\ Charles R Greathouse IV, Jul 01 2013