A284148 Lexicographically earliest sequence of nonnegative integers such that a(1)=3 and the sequence is p-periodic mod p for any p > 0.
3, 0, 1, 0, 3, 28, 45, 276, 595, 1128, 1953, 3160, 4851, 264540, 190333, 254268, 18915, 3366496, 32385, 125391168, 199588483, 64620, 174673821, 5039370820, 1784859363, 16908230328, 165025, 34420237176, 58409997075, 1367074573228, 2294838551853, 15289788305820
Offset: 1
Keywords
Examples
By definition, a(1)=3. a(2) must equal 3 mod 1; a(2)=0 is suitable. a(3) must equal 3 mod 2 and 0 mod 1; a(3)=1 is suitable. a(4) must equal 3 mod 3 and 0 mod 2 and 1 mod 1; a(4)=0 is suitable. a(5) must equal 3 mod 4 and 0 mod 3 and 1 mod 2 and 0 mod 1; a(5)=3 is suitable.
Links
- Rémy Sigrist, Table of n, a(n) for n = 1..2000
- Rémy Sigrist, PARI program for A284148
Comments