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.

Showing 1-3 of 3 results.

A077063 Squarefree kernel of prime(n) - 1.

Original entry on oeis.org

1, 2, 2, 6, 10, 6, 2, 6, 22, 14, 30, 6, 10, 42, 46, 26, 58, 30, 66, 70, 6, 78, 82, 22, 6, 10, 102, 106, 6, 14, 42, 130, 34, 138, 74, 30, 78, 6, 166, 86, 178, 30, 190, 6, 14, 66, 210, 222, 226, 114, 58, 238, 30, 10, 2, 262, 134, 30, 138, 70, 282, 146, 102, 310, 78, 158
Offset: 1

Views

Author

Reinhard Zumkeller, Oct 23 2002

Keywords

Examples

			a(25) = rad(prime(25)-1) = rad(97-1) = rad(3*2^5) = 6.
		

Crossrefs

Programs

Formula

a(n) = A007947(A006093(n)).

Extensions

Wrong formula removed by Amiram Eldar, Dec 29 2020

A077067 Squarefree numbers of the form prime + 1.

Original entry on oeis.org

3, 6, 14, 30, 38, 42, 62, 74, 102, 110, 114, 138, 158, 174, 182, 194, 230, 258, 278, 282, 314, 318, 354, 374, 390, 398, 402, 410, 422, 434, 458, 462, 510, 542, 570, 602, 614, 618, 642, 654, 662, 674, 678, 710, 734, 758, 762, 770, 798, 822, 830, 854, 858, 878
Offset: 1

Views

Author

Reinhard Zumkeller, Oct 23 2002

Keywords

Examples

			A005117(28) = 42 = 2*3*7 is a term as 42 = A000040(13) + 1 = 41+1.
		

Crossrefs

Programs

  • Mathematica
    Select[Prime[Range[200]]+1,SquareFreeQ] (* Harvey P. Dale, Aug 20 2017 *)
  • PARI
    isok(n) = issquarefree(n) && isprime(n-1); \\ Michel Marcus, Mar 22 2016
    
  • PARI
    lista(nn) = forprime(p=2, nn, if (issquarefree(p+1), print1(p+1, ", "))); \\ Michel Marcus, Mar 22 2016

Formula

A077066(a(n)) = a(n).
a(n) = A049097(n)+1. - Zak Seidov, Aug 15 2006

A275630 a(n) = product of distinct primes dividing prime(n)^2 - 1.

Original entry on oeis.org

3, 2, 6, 6, 30, 42, 6, 30, 66, 210, 30, 114, 210, 462, 138, 78, 870, 930, 1122, 210, 222, 390, 1722, 330, 42, 510, 1326, 318, 330, 798, 42, 4290, 2346, 4830, 1110, 570, 6162, 246, 3486, 7482, 2670, 2730, 570, 582, 462, 330, 11130, 1554, 12882, 13110, 2262, 3570, 330, 210, 258, 8646, 2010
Offset: 1

Views

Author

N. J. A. Sloane, Aug 07 2016

Keywords

Crossrefs

Subsequence of A007947.

Programs

  • Mathematica
    a[n_] := Times @@ FactorInteger[Prime[n]^2 - 1][[;; , 1]]; Array[a, 60] (* Amiram Eldar, Jan 30 2021 *)
  • PARI
    a(n) = factorback(factorint(prime(n)^2-1)[, 1]); \\ Michel Marcus, Jan 30 2021

Formula

a(n) = A007947(A084920(n)). - Michel Marcus, Jan 30 2021
a(n) = A077063(n)*A077066(n)/2, for n > 1. - Amiram Eldar, Jan 30 2021
Showing 1-3 of 3 results.