A233419 Least m such that A232637(m) is divisible by k, where k is the n-th number not divisible by 4; or 0 if no such m exists.
1, 2, 6, 7, 12, 3, 21, 14, 15, 4, 5, 72, 73, 42, 34, 6, 29, 18, 7, 8, 21, 23, 144, 9, 273, 146, 97, 10, 68, 30, 11, 12, 76, 102, 36, 130, 13, 14, 90, 67, 42, 15, 72, 45, 75, 16, 17, 1056, 1057, 546, 185, 18, 194, 54, 19, 20, 95, 97, 60, 495, 21, 22, 105, 107, 152, 23, 112
Offset: 1
Keywords
Links
- Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
Programs
-
PARI
ok(n)=hammingweight(n)%2 && hammingweight(n\2+1)%2 a(n)=my(k=n+(n-1)\3,m=k);while(!ok(m), m+=k); (m+6)\4 \\ Charles R Greathouse IV, Dec 09 2013
Comments