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!)
A044122 Numbers n such that string 3,2 occurs in the base 6 representation of n but not of n-1. 2
20, 56, 92, 120, 128, 164, 200, 236, 272, 308, 336, 344, 380, 416, 452, 488, 524, 552, 560, 596, 632, 668, 704, 720, 768, 776, 812, 848, 884, 920, 956, 984, 992, 1028, 1064, 1100, 1136, 1172, 1200, 1208, 1244, 1280, 1316, 1352, 1388, 1416, 1424, 1460, 1496 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
f[n_] := Length[StringPosition[ToString[FromDigits[IntegerDigits[n, 6]]], "32", 1]]; Select[Table[n, {n, 10000}], f[#] > 0 && f[# - 1] == 0 &] (* Vladimir Joseph Stephan Orlovsky, Jul 20 2011 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 6], {3, 2}]>0, 1, 0], {n, 1500}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Apr 23 2020 *)
CROSSREFS
Sequence in context: A316935 A123456 A144521 * A044503 A344072 A109806
KEYWORD
nonn,base
AUTHOR
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 July 23 06:59 EDT 2024. Contains 374544 sequences. (Running on oeis4.)