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.

A249714 Record values in A249695.

This page as a plain text file.
%I A249714 #13 Nov 04 2014 16:38:11
%S A249714 0,1,3,6,7,12,21,24,48,96,192,384,768,1536,3072,6144,12288,24576,
%T A249714 49152,98304,196608,393216,786432,1572864,3145728,6291456,12582912,
%U A249714 25165824,50331648
%N A249714 Record values in A249695.
%C A249714 For n >= 8 [a(8) = 24], the terms seem to be given by A007283(n-5), i.e.  as 3 * 2^(n-5).
%F A249714 a(n) = A249695(A249715(n)).
%o A249714 (PARI)
%o A249714 A249695(n) = { for(p=2,3,for(k=0,floor(n/2),if((0==(binomial(n,k)%(p*p))),return(k)))); return(0); } \\ Unoptimized and straightforward.
%o A249714 A249695(n) = { for(p=2,3, my(o=0); for(k=1, n\2, o+=valuation((n-k+1)/k, p); if(o>1, return(k)))); return(0); } \\ Better to use this. Based on _Charles R Greathouse IV_'s PARI-code for A249441.
%o A249714 prevmax = -1; i = 0; for(n=0, 123456789, if((k=A249695(n)) > prevmax, prevmax = k; i++; write("b249714.txt", i, " ", k); write("b249715.txt", i, " ", n))); \\ Compute both A249714 & A249715 at the same time.
%Y A249714 A249715 gives the positions where these values occur in A249695 for the first time.
%Y A249714 Cf. A007283, A249439.
%K A249714 nonn
%O A249714 1,3
%A A249714 _Charles R Greathouse IV_ & _Antti Karttunen_, Nov 04 2014