The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A180637 Digital root of A179899. 1
0, 3, 3, 3, 9, 3, 3, 6, 3, 3, 9, 3, 9, 3, 3, 6, 3, 3, 6, 3, 9, 3, 9, 3, 6, 3, 3, 3, 9, 3, 6, 9, 3, 6, 3, 9, 3, 3, 6, 9, 3, 3, 6, 3, 6, 3, 9, 3, 9, 3, 3, 6, 9, 3, 3, 3, 6, 9, 3, 6, 3, 6, 9, 3, 6, 3, 3, 9, 3, 3, 6, 9, 3, 9, 3, 9, 3, 9, 3, 3, 6, 3, 3, 6, 9, 3, 9, 3, 6, 9, 3, 6, 3, 3, 9, 3, 6, 9, 3, 6, 3, 6, 3, 6, 9 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Every term after the first is 3, 6, or 9.
LINKS
MAPLE
ithnonprime := proc(n)local k: option remember: if(n=1)then return 1: else k := procname(n-1)+1: while true do if(not isprime(k))then return k fi: k:=k+1: od: fi: end: A179899ind := proc(n) option remember: local k: if(n=1)then return 1:fi: for k from procname(n-1)+1 do if(ithnonprime(k) mod 2 <> 0)then return k: fi: od: end: A180637 := proc(n) if(n=1)then return 0:fi: return ((3*(ithnonprime(A179899ind(n))-1)/2 - 1) mod 9) + 1: end: seq(A180637(n), n=1..100); # Nathaniel Johnston, May 05 2011
CROSSREFS
Cf. A179899.
Sequence in context: A329694 A183389 A275530 * A362376 A201539 A223747
KEYWORD
easy,nonn,base
AUTHOR
Odimar Fabeny, Sep 13 2010
EXTENSIONS
Edited by Nathaniel Johnston, May 05 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 8 15:41 EDT 2024. Contains 373217 sequences. (Running on oeis4.)