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.

A325056 Index of n-th low point in A076042.

This page as a plain text file.
%I A325056 #45 May 30 2024 15:02:57
%S A325056 0,5,10,19,34,59,104,181,314,545,946,1639,2840,4921,8524,14765,25574,
%T A325056 44297,76726,132895,230182,398687,690548,1196065,2071646,3588197,
%U A325056 6214940,10764593,18644824,32293783,55934474,96881353,167803426,290644061,503410282,871932187
%N A325056 Index of n-th low point in A076042.
%H A325056 N. J. A. Sloane, <a href="/A325056/b325056.txt">Table of n, a(n) for n = 0..3999</a> (Terms up through a(42) from Giovanni Resta.)
%H A325056 N. J. A. Sloane, <a href="/A325056/a325056_1.txt">Table of n, a(n) for n = 0..10000</a>
%p A325056 See A324791.
%t A325056 a=b=c=d=n=0; L={0}; While[Length[L] < 22, n++; a=b; b=c; c=d; d=c + If[c < n^2, n^2, -n^2]; If[a > b < c < d, AppendTo[L, n - 2]]]; L (* _Giovanni Resta_, Oct 01 2019 *)
%o A325056 (PARI) \\ See PARI program in A076042.
%Y A325056 Cf. A076042, A324791, A324792.
%Y A325056 If we use primes instead of squares we get A008348, A309226, A324782, A324783.
%K A325056 nonn
%O A325056 0,2
%A A325056 _N. J. A. Sloane_, Sep 04 2019
%E A325056 a(14)-a(17) added by _N. J. A. Sloane_, Sep 30 2019
%E A325056 More terms from _Giovanni Resta_, Oct 01 2019
%E A325056 Modified definition to make offset 0. - _N. J. A. Sloane_, Oct 02 2019