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.

A360258 a(n) is the smallest k such that A360097(k) = n.

Original entry on oeis.org

13, 14, 20, 7, 5, 10, 4, 9, 63, 6, 42, 1590, 1, 2, 5172911835, 974749335, 21, 26135070
Offset: 1

Views

Author

Jean-Marc Rebert, Feb 01 2023

Keywords

Crossrefs

Programs

  • PARI
    a360097(n)=my(k=1);while(isprime(2*n*k-1)||isprime(2*n*k+1),k++);k
    a(n)=for(i=1,+oo,my(k=a360097(i));if(k==n,return(i)))