login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A249722 Numbers n such that there is a multiple of 4 on row n of Pascal's triangle with property that all multiples of 9 on the same row (if they exist) are larger than it. 5

%I #13 Nov 05 2014 11:24:03

%S 4,6,8,12,14,16,17,20,22,24,25,26,28,30,32,33,34,35,38,40,41,42,44,48,

%T 49,50,51,52,53,56,57,58,60,61,62,64,65,66,67,68,69,70,71,74,76,77,78,

%U 80,84,86,88,89,92,94,96,97,98,100,101,102,104,105,106,107,112,113,114,115,116,120,121,122,124,125

%N Numbers n such that there is a multiple of 4 on row n of Pascal's triangle with property that all multiples of 9 on the same row (if they exist) are larger than it.

%C All n such that on row n of A034931 (Pascal's triangle reduced modulo 4) there is at least one zero and the distance from the edge to the nearest zero is shorter than the distance from the edge to the nearest zero on row n of A095143 (Pascal's triangle reduced modulo 9), the latter distance taken to be infinite if there are no zeros on that row in the latter triangle.

%H Antti Karttunen, <a href="/A249722/b249722.txt">Table of n, a(n) for n = 1..10000</a>

%e Row 4 of Pascal's triangle (A007318) is {1,4,6,4,1}. The least multiple of 4 occurs as C(4,1) = 4, and there are no multiples of 9 present, thus 4 is included among the terms.

%e Row 12 of Pascal's triangle is {1,12,66,220,495,792,924,792,495,220,66,12,1}. The least multiple of 4 occurs as C(12,1) = 12, which is less than the least multiple of 9 present at C(12,4) = 495 = 9*55, thus 12 is included among the terms.

%o (PARI)

%o A249722list(upto_n) = { my(i=0, n=0); while(i<upto_n,for(k=0,n\2, if(!(binomial(n,k)%9), break, if(!(binomial(n,k)%4), i++;write("b249722.txt",i," ",n);break))); n++); }

%Y A subsequence of A249724.

%Y Natural numbers (A000027) is a disjoint union of the sequences A048278, A249722, A249723 and A249726.

%Y Cf. A007318, A034931, A095143, A048645, A051382.

%K nonn

%O 1,1

%A _Antti Karttunen_, Nov 04 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 5 11:52 EDT 2024. Contains 375696 sequences. (Running on oeis4.)