OFFSET
1,2
COMMENTS
Correspondingly gives the positions of those terms in A030299 whose first digit is 1, as long as the decimal encoding system employed is valid.
LINKS
A. Karttunen, Table of n, a(n) for n = 1..5914
FORMULA
a(1)=1; and for n>1, a(n)=A220695(n-1)+1.
PROG
(Scheme) ;; With Antti Karttunen's intseq-library:
;; Alternative definition:
(define (A220696v2 n) (if (< n 2) n (+ 1 (A220695 (- n 1)))))
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 17 2012
STATUS
approved
