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!)
A146562 'Erratic' numbers in A064353 [Kolakoski (1,3)] 1
3, 6, 9, 15, 18, 21, 25, 29, 32, 35, 41, 44, 47, 51, 54, 57, 61, 64, 67, 73, 76, 79, 83, 87, 90, 93, 99, 102, 105, 109, 112, 115, 121, 124, 127, 131, 134, 137, 143, 146, 149, 153, 157, 160, 163, 169, 172, 175, 179, 182, 185, 189, 192, 195, 201, 204, 207, 211 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A064353(n) is generally 1 if n is odd and 3 if n is even. An 'erratic' number breaks this rule.
LINKS
EXAMPLE
A064353(3) is predicted to be 1 but is 3 so 3 is in the list.
PROG
(Haskell)
import Data.List (findIndices)
a146562 n = a146562_list !! (n-1)
a146562_list = map (+ 1) $
findIndices (/= 0) $ zipWith (-) a064353_list $ cycle [1, 3]
-- Reinhard Zumkeller, Aug 03 2013
CROSSREFS
Cf. A064353.
Cf. A010684.
Sequence in context: A058597 A362070 A310175 * A342594 A179893 A274191
KEYWORD
nonn
AUTHOR
J. Perry (johnandruth(AT)jrperry.orangehome.co.uk), Nov 01 2008
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 April 25 08:27 EDT 2024. Contains 371964 sequences. (Running on oeis4.)