OFFSET
1,2
COMMENTS
Start from the prime decomposition of n, not writing down exponents which are 1. That is the list 0, 1, 2, 3, 2^2, 5, 2*3, 7, 2^3, 3^2, 2*5, 11, 2^3*3, 13, 2*7, 3*5, 2^4, 17, 2*3^2, ... Replace each number i in this representation by the i-th digit in the Gregorian Calendar: 1(365(28 Feb)), 2(365(28 Feb)), 3(365(28 Feb)), 4(366(29 Feb)), 5(365(28 Feb)), ... This generates the sequence, namely 1, 3, 6, 5, 2^8, 2, 3*6, 5, 2^8, 3^3, 6*5, 2, 8^4*3, 6, 6*2, 9^5, 3^6, 5, 2*8^6, ...
EXAMPLE
2*8^6 = 2560 = a(19).
3 = a(20).
6^5*2 = 93312 = a(21).
8*7 = 56 = a(22).
3*6 = 18 = a(23).
5 = a(24),
2^8*8 = 2048 = a(25),
etc.
CROSSREFS
KEYWORD
nonn,less,base
AUTHOR
Juri-Stepan Gerasimov, Nov 25 2008
STATUS
approved