A330360 First occurrence of run of lucky numbers congruent to 1 mod 4 of exactly length n.
1, 9, 285, 933, 741, 11173, 15109, 33705, 100737, 24025, 34197, 86829, 5370693, 6457761, 2287341, 26529033, 53099457, 770289, 754577025, 256655365, 765951429, 2618761237, 1075872265, 2405972445, 2767592133
Offset: 1
Examples
a(1) = 1 since 1 is the first lucky number congruent to 1 mod 4, and the next lucky number is 3 which is not congruent to 1 mod 4. a(2) = 9 since 9 and 13 are 2 consecutive lucky numbers congruent to 1 mod 4, following 7 and followed by 15 which are both not congruent to 1 mod 4.
Links
- Amiram Eldar and Giovanni Resta, Table of n, k, A000959(k),... A000959(k+n-1) for n=1..25
Extensions
a(19)-a(25) from Giovanni Resta, May 10 2020
Comments