OFFSET
1,2
COMMENTS
LINKS
C. Smyth, The Terms in Lucas Sequences Divisible by their Indices, Journal of Integer Sequences, Vol.13 (2010), Article 10.2.4.
PROG
(Sage) def is_in_A231960(n):
return 6.divides(n) or n==3^valuation(n, 3)
CROSSREFS
KEYWORD
nonn
AUTHOR
Thomas M. Bridge, Nov 15 2013
EXTENSIONS
Edited by Ralf Stephan, Feb 28 2014
STATUS
approved