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-2 of 2 results.

A016672 Decimal expansion of log(49).

Original entry on oeis.org

3, 8, 9, 1, 8, 2, 0, 2, 9, 8, 1, 1, 0, 6, 2, 6, 6, 1, 0, 2, 1, 0, 7, 0, 5, 4, 8, 6, 8, 8, 6, 3, 5, 9, 4, 5, 9, 2, 7, 4, 1, 6, 9, 4, 5, 9, 1, 6, 3, 7, 2, 2, 3, 7, 6, 9, 1, 8, 7, 8, 0, 2, 9, 9, 8, 7, 5, 1, 5, 9, 7, 2, 5, 5, 0, 4, 1, 3, 8, 5, 3, 5, 5, 7, 5, 3, 1, 6, 9, 9, 7, 1, 7, 5, 7, 4, 3, 0, 5
Offset: 1

Views

Author

Keywords

Examples

			3.891820298110626610210705486886359459274169459163722376918780299875159....
		

References

  • M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math. Series 55, 1964 (and various reprintings), p. 2.

Crossrefs

Cf. A016477 (continued fraction), A016630.

Programs

  • Mathematica
    RealDigits[Log[49], 10, 120][[1]] (* Vincenzo Librandi, Jun 21 2015 *)
  • PARI
    default(realprecision, 20080); x=log(49); for (n=1, 20000, d=floor(x); x=(x-d)*10; write("b016672.txt", n, " ", d)); \\ Harry J. Smith, May 21 2009

Formula

Equals 2*A016630. - Alois P. Heinz, Aug 07 2023

A174261 Either n*3-+1 is prime.

Original entry on oeis.org

1, 8, 12, 16, 18, 22, 26, 28, 30, 32, 38, 42, 44, 52, 54, 56, 58, 70, 74, 78, 84, 86, 88, 92, 98, 102, 106, 110, 112, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 146, 148, 150, 152, 156, 160, 162, 164, 166, 168, 170, 180, 182, 186, 188, 192, 196, 198, 202, 204
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Mar 14 2010

Keywords

Examples

			a(1)=1 because 1*3-1=2=prime and 1*3+1=4=composite; a(2)=8 because 8*3-1=23=prime and 8*3+1=25=composite; a(3)=12 because 12*3-1=37=prime and 12*3+1=39=composite.
		

Crossrefs

Cf. A016477.
Showing 1-2 of 2 results.