A231960 Powers of 3 together with multiples of 6.
1, 3, 6, 9, 12, 18, 24, 27, 30, 36, 42, 48, 54, 60, 66, 72, 78, 81, 84, 90, 96, 102, 108, 114, 120, 126, 132, 138, 144, 150, 156, 162, 168, 174, 180, 186, 192, 198, 204, 210, 216, 222, 228, 234, 240, 243, 246, 252, 258
Offset: 1
Keywords
Links
- C. Smyth, The Terms in Lucas Sequences Divisible by their Indices, Journal of Integer Sequences, Vol.13 (2010), Article 10.2.4.
Crossrefs
Cf. A029744.
Programs
-
Sage
def is_in_A231960(n): return 6.divides(n) or n==3^valuation(n,3)
Extensions
Edited by Ralf Stephan, Feb 28 2014
Comments