login
A122613
Integers 1 through n written in primorial base, summed as if decimal.
0
1, 11, 22, 42, 163, 264, 374, 485, 605, 726, 926, 1127, 1337, 1548, 1768, 1989, 2289, 2590, 2900, 3211, 3531, 3852, 4252, 4653, 5063, 5474, 5894, 6315, 7315, 8316, 9326, 10337, 11357, 12378, 13478, 14579, 15689, 16800, 17920, 19041, 20241, 21442
OFFSET
1,2
COMMENTS
cf. A049345 n written in primorial base [Places reading from right have values (1, 2, 6, 30, 210, ...) = primorials]. Primes in this sequence are a(2) = 11, a(6) = 163, a(33) = 10337.
EXAMPLE
a(1) = A049345(1) = 1.
a(2) = A049345(1) + A049345(2) = 1 + 10 = 11.
a(3) = A049345(1) + A049345(2) + A049345(3) = 1 + 10 + 11 = 22.
a(4) = 1 + 10 + 11 + 20 = 42.
a(5) = 1 + 10 + 11 + 20 + 21 = 63.
a(6) = 1 + 10 + 11 + 20 + 21 + 100 = 163.
a(33) = 1 + 10 + 11 + 20 + 21 + 100 + 101 + 110 + 111 + 120 + 121 + 200 + 201 + 210 + 211 + 220 + 221 + 300 + 301 + 310 + 311 + 320 + 321 + 400 + 401 + 410 + 411 + 420 + 421 + 1000 + 1001 + 1010 + 1011 = 10337.
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Jonathan Vos Post, Sep 20 2006
STATUS
approved